Question: do dorm rooms have locks?
Answer: Most dormitories use a keycard or other system to secure the entrances. Those doors will be locked at set times, usually overnight. You should know and follow the rules, which exist for your safety. Entrances should never be propped open after hours because it can put you and everyone else in the dorm at risk.