The answer is mostly yes, but there are some exceptions. Most hotels have security measures in place to ensure the safety of their guests, including locking the doors at night. However, there are still instances when guests may find themselves locked out of their rooms.