I think he means his code to get past the lock screen. But I may be wrong.
If you ARE talking about the lock screen password.
What kind of security have you set?
Pattern, PIN, Password, Face Detection?
I may not be able to help you, a brief read through this thread or post shows a few ways you can try to unlock your phone.
Although it does seem weird that you have forgotten your security code. I mean if you set a pattern security then there is also a backup pin number. Probably the same with face detection. The fact that you only have 3 posts all in this thread is suspicious, but I'm a paranoid person.
androidadvices.com/unlock-android-phone-forgot-pin-password-screen-lock/
Hopefully there was no rule about adding a link to another site/forum..