Ah, I see I misremembered the first puzzle, sorry.You can add a ! directly in front of a bollean to flip it's value.
So the solution for the first door is to change "if OpenDoor:" to "if !OpenDoor:"
Sorry for the trouble :(
oh haha, thank you! now i can play it for real :>