They work via the use of hinges and a door knob. Though the prop guys clearly dropped the ball on the location of the latter (it can technically work, but even if its for arts sake its a stupid place).
I am the Hunter of Topics. My post never fails to kill its prey.
*pounces* Nyaa!