Call your network provider and they will ask you some questions witch you will need to anser in oder for them to know that you are the true owner of the phone and they will release the code and you will be ok form then.
I don't know I forgot the code to my phone too but I have a samsung straight talk lol
You get a new phone