Hmmmmmm... So what your saying is, you set up a code, then forgot this code? How long did you not use your iPhone for in order to forget the code? Most people are on their phone 24/7 so the likelihood of forgetting your code is pretty slim. As for unlocking it once/if you forget your code I have no idea.
iHolophyte