Added functionality so that only one-third of the exits are locked when entering a room.