Cancel a timer on a light and turn off if door is locked


#1

1) Give a description of the problem
Want to change a piston to cancel a wait timer that will turn off a light if a door is locked before timer is up

2) What is the expected behavior?
Turn off a light after 5 minutes unless a door is locked, then turn off immediately.

3) What is happening/not happening?
Piston is working normally with the timer

**4) Post a Green Snapshot of the piston


#2

anybody?