Set precondition of your door event to a switch.
You could also make a new page and set precondition on page 2 to a switch. Page 1 can then be used for when the room is locked.
If you don't understand switches click on my sig and read the tutorial there.