There is no remedy except to remember your password. As already said, 10 incorrect tries in succession and the phone wipes itself and reverts to out-of-the-box configuration. No workarounds, no backdoors, no hacks. RIM is very proud of their security features!
Posted from my CrackBerry at wapforums.crackberry.com