Maybe I'm thinking this wrongly, but wouldn't the door open if you turn both torches off, then turn just 1 on? Please excuse my misunderstanding if I am wrong.
The door will only open if there is no power coming to the third torch.
Turning either torch on makes power come to the third torch.
Also:
You can make cycles and looping functions, as well as timers (with enough resources).

Each torch sets off the one in front of it, causing a chain reaction. The wire part keeps it from stabilizing.
Question, how do torches, wire, and switches work?
Is it that if the switch is ON next to a torch, the torch turns OFF?
If power comes to a torch (i.e a switch next to it is ON), the torch turns OFF.