The switch just meant he did not have to leave his desk to lock the door.
I doubt it was some secret third dead bolt.
I don’t see being unable to unlock the door without the switch and leave or am I missing something?