Hotel staff have emergency keys that allow us to override the deadbolt - it's either a physical key or an electronic key depending on what type of lock it is. We have a tool that disengages the chain/security lock. Those tools and keys are kept in a safe with limited access, but they are available for emergencies.