you said earlier that you dont have a lock.
how bout something like this? (password is 1234 just for arguments sake). BTW, i am not sure whether you are a scripter, so i included the script, then an explaination on how it works, just incase. enjoy.
:state=0,scancodekeypressed=2:state=1
:state=1,scancodekeypressed=3:state=2
:state=1:state=0
:state=2,scancodekeypressed=4:state=3
:state=2:state=0
:state=3,scancodekeypressed=5:state=4
:state=3:state=0
:state=4,scancodekeypressed=29:state=5
:state=5: (this is where you put the script for the opening command)
Basically, we say the if state is 0, and the player presses 1, to go to state 1. if not, then it stays state 0.
Then, if its state 1, and the player presses 2, then it goes to state 3. if not, if the state is 1, then it goes to state 0 (this is because the state is already 1, and the above condition was not met, so it didnt complete the action, it just continued.
That way, if they make a mistake, they have got to start over.
Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations