The default lock code should be 12345 unless you changed it. A restore or even a reset will not reset the lock code. It can only be reset by a Nokia Care Point. They will probably ask for proof of purchase before they reset it for you.
As far as I can see you should go to nearest Nokia Care Point, they can
unlock your phone (this could mean you'll lose all your information in
Contact your local care point. Explain your situation and see if they will help you. Otherwise you will need to contact your ex boyfriend and ask for the necessary documents.
i not totally forget my lock code i only code use is just date of my birthday.i use it on my fb. and my other mail.
Try entering just the first five numbers.
Happy to have helped forum with a Support Ratio = 42.5