Types of hotel room door locks: key card, PIN code, online
A hotel room door lock is more than a lock. It is how guests get their key every day, and the record of who entered the room.
Published 24 November 2026 · updated 28 November 2026 · about 5 min read
Hotel room door locks come in three types: mechanical locks with metal keys, offline key card locks that accept cards encoded at the desk, and online locks networked with the software. The three differ in how keys are issued to guests, how a lost card is handled, and whether the hotel knows who opened the door.
Written for owners and developers choosing locks for a new or renovated hotel.Three types of lock: where they differ
| Lock type | Issuing keys | Guest loses the key | Door log |
|---|---|---|---|
| Mechanical lock | Hand over a metal key | Replace the lock cylinder or accept the risk | None |
| Offline key card lock | The desk encodes key cards on a card encoder | Issue a new key card; the old card stops working at the expiry written on it | Stored in each lock; someone must go to the lock to read it |
| Online locks | The desk issues key cards or PIN codes in the software | Revoke the key card remotely in the software | Viewed in the software |
Mechanical locks: cheap, but keys are hard to control
Mechanical locks are still found in small guesthouses. A master key that opens every room helps housekeeping, but it is also the biggest risk: lose the master key and the whole system has to be replaced. Guests take keys home, and the hotel does not know where those keys are. There is no log showing who entered a room.
Offline key card locks: the most common today
The front desk encodes key cards for guests on a card encoder. An issued card stores the room code and validity period on the card itself; once it expires, the card no longer opens the door. The lock runs on batteries and needs no network cable to each door.
The limitation is that the lock is not networked. It does not receive remote commands, so the desk cannot open doors or revoke key cards remotely. To find out who opened a room, engineers have to bring a device to read the log at each lock.
Ezibee issues key cards from the front desk software for key card lock models already connected to the platform: it only encodes and reads cards, with no remote unlock or revocation.
Online locks: key cards, PIN codes and door logs in the software
Online door locks are networked with the software. Front desk agents issue key cards and PIN codes, use remote unlock and read door logs right in the software.
- Choose how to issue keys lock by lock: key card or PIN code. PIN codes are only available on online locks.
- The lock map shows whether each lock is locked or unlocked, plus its battery level and signal; the door log records whether each opening was by key card, PIN code, mechanical key, inside handle or remote unlock; staff use remote unlock from the software.
- Arrival-day PIN: guests who complete online check-in see their online lock PIN code on their phone on the day they arrive, then enter it on the lock to get into the room, without stopping at the desk for a card. Conditions: the hotel turns on this option, the room has an online lock, and the reservation meets all four conditions for issuing keys in advance (room assigned, guest residence declaration done, payment collected per policy, room cleaned). The residence declaration is the stay registration hotels in Vietnam send to the police. If issuing fails, guests see a message inviting them to stop by the desk.
For a closer comparison of the two key card lock types, read online door locks vs offline locks.
What online locks still cannot do
Remote key card revocation has no confirmation signal. The software sends the delete-card command to the lock, but the lock does not send back a signal that the card was deleted. For rooms where you need certainty, engineers should test the old card at the door.
Door open or closed needs a sensor. Knowing whether the door is open or closed needs a door contact sensor installed on the frame; without one, the software always records "Door open".
The phone only shows the code. Guests read their PIN code on the phone, then enter it on the lock keypad. Key cards and PIN codes are the two ways the hotel gives guests to open the door.
When the network is down, issued key cards still open doors. When the Internet goes down, key cards and PIN codes already issued, floor cards, master cards and mechanical keys still open doors; new key cards and PIN codes wait until the connection is back. Room power is switched on and off with the backup tool at the desk, with a log on that computer. A backup 4G router for the desk is recommended; details are on the page When the Internet goes down.
Using key card locks and want to know whether they can go online? See the page upgrade offline locks to online or book a site survey.
FAQ
Should a new hotel choose key card locks or online locks?
If the hotel wants remote unlock, remote key card revocation, PIN codes and door logs in the software, choose online locks. If issuing key cards at the desk is all you need, offline key card locks are enough.
Do PIN codes work with offline key card locks?
No. PIN codes are only available on online locks. With offline locks, front desk agents issue key cards to guests.
Can one hotel use a mix of online and offline locks?
Yes. Front desk agents choose how to issue keys lock by lock: key cards for offline locks, key cards or PIN codes for online locks.