Hotel staff have keys that can open your door. They typically would respect a “DO NOT DISTURB” sign at least for a day unless you are past your check out date. They might telephone. Most hotel doors have a chain that you can use if you are in the room, which would only allow the door to open a few inches.