a hinged door is used for allowing access to a room only when wanted