Join our Newsletter — 33% off our NHI Course
Home› Guides› Smart Locks and Keyless Entry for Beginners: How…
Guide OT & IoT Security

Smart Locks and Keyless Entry for Beginners: How smart locks work, codes, app accounts, batteries and failure modes

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 1 December 2026 10 min read
On this page

A smart lock is a door lock you open with a code, phone app or card instead of a key.

This guide is for anyone thinking about a smart lock at home, in a small office or in a rental. It covers the device and the app account behind it: codes, passwords, updates and what happens when things fail. For physical door security, ask a qualified locksmith.

In short

  • A smart lock is only as safe as the app account that controls it.
  • Protect that account with a strong password and two-step verification.
  • Give each person their own code, and remove codes you no longer need.
  • Know your backup way in for flat batteries, lost phones or a dropped internet connection.

What you will learn

  • Describe the parts of a smart lock system and how they connect.
  • Set up the app account and codes safely.
  • Plan for batteries, lost phones and outages.
  • Check how long a lock will get security updates before you buy.
Access code
a number typed on the lock's keypad to open it.
App account
the online account that controls the lock and its codes.
Hub
a small box that links the lock to your home internet, if the lock needs one.

Status: correct as at 1 December 2026, based on the sources listed.

This guide explains the rules in general terms and is not legal advice.

What are smart locks and keyless entry?

Think of a key cutter that lives in your pocket. With a smart lock app, you can make and cancel keys for anyone, from anywhere. That power is useful, and it is also the thing to protect.

Most smart locks have a few parts. There is the lock on the door, an app on your phone, an online account, and sometimes a hub or Wi-Fi link. The lock may also accept a keypad code, a card, a fingerprint or a normal key.

Smart locks are connected devices, so the usual smart device advice applies. Change any default password, turn on two-step verification if offered, and keep updates on [1].

Where the comparison stops working: a key cutter needs you in the room. Anyone who gets into your app account could create new codes without being near the door.

Why does it matter?

A door lock protects people and property. When it goes online, a password problem can become a door problem.

If you have one at home

What could happen: someone who reuses your old password signs in to your lock app.

Check this: the app account has a unique password and two-step verification.

Next: Smart Home Security for Beginners

If you run a small office or rental

What could happen: a former cleaner or guest still has a working code.

Check this: each person has their own code, and old codes are deleted.

Next: Shared Accounts for Beginners

If you are choosing a lock

What could happen: the maker stops sending security updates a year after you buy it.

Check this: the maker states a minimum security update period.

Next: Smart Device Security Laws for Beginners

What does it look like?

Here is a made-up list of codes from a lock app. Reviewing a list like this is one of the most useful habits.

Example only. All values are made up.

Lock: EXAMPLE Front Door      battery: 00%            (1)
Owner account   two-step: ON                          (2)
Code "Family"   0000  always                          (3)
Code "Cleaner"  0000  Tuesdays 09:00 to 12:00         (4)
Code "Guest"    0000  ends 00/00 at 10:00             (5)
Code "Old"      0000  always   (nobody uses it)       (6)
  1. In a real file, this line would contain the battery level. Change batteries before the warning becomes urgent.
  2. Two-step verification protects the account that controls every code.
  3. In a real file, this line would contain a private code known only to the household.
  4. Time limits mean the code works only when it is needed.
  5. A code that ends with the visit removes the need to remember to delete it.
  6. Unused codes are a risk. Delete them.

Why this is risky: codes that never expire keep working long after the person has gone.

The safer way: use one code per person, add time limits, and review the list each month.

How does it work?

  1. You set up the account. The app account is the master key. Give it a strong password you use nowhere else, and turn on two-step verification [3].
  2. The lock links to your phone or home network. Some locks talk to your phone over short-range radio, and some go through a hub or Wi-Fi. If you do not need to open the door from far away, the NCSC advises switching off remote access [1].
  3. You create codes or digital keys. Give each person their own, with time limits where the app allows.
  4. The lock gets updates. Turn on automatic updates if the lock supports them, and install manual ones when prompted [1].
  5. You plan for failure. Batteries run down, phones get lost and internet links drop. Read the manual to learn the backup way in, such as a key or an emergency power point.
Diagram titled How a smart lock is controlled. Four boxes in a row joined by arrows: App account, the master key, protect with two-step; Phone or hub, sends commands to the lock; Lock on door, opens for codes, cards or app; Codes, one per person, with time limits. A note underneath says whoever controls the app account controls every code, and to know your backup way in for flat batteries or lost phones.
Figure 1. The app account sits at the top, so it needs the strongest protection.

In the UK, makers of connectable consumer products must meet security rules that came into effect on 29 April 2024 [2]. Passwords must be unique per product or set by the user, and makers must publish a minimum security update period [2]. The NCSC calls a device's support end date its "use by" date [1].

A worked example

This story is made up to show the idea.

Jonah Novak fits a smart lock to the side door of his small design studio. Four staff and a weekly cleaner need to get in.

At first he gives everyone the same code. It is simple, but when a member of staff leaves, he has to change the code and tell everyone else the new one.

He rethinks the setup. He gives each person their own code and sets the cleaner's code to work only on Tuesday mornings. Now he can remove one person without bothering anyone else.

Next, he looks at the app account. It still uses a password he has used elsewhere. He changes it to a unique one and turns on two-step verification with an authenticator app.

A month later the lock warns that its batteries are low. Jonah has read the manual, so he knows the backup key is in the office safe. He changes the batteries that day and sets a calendar reminder for next time.

Before he bought a second lock for the back door, Jonah checked the maker's website. He looked for how long it promised security updates, and chose a model with a stated end date.

The lock is now easier to manage than keys ever were. That is because Jonah treats the app account as the real master key.

Myths and mistakes

What people thinkWhat is true
The lock is the thing to protect.The app account controls every code, so protect it first.
One shared code is easier for everyone.Shared codes are hard to cancel for one person and hide who came in.
Smart locks never need updates.Like other smart devices, they need updates to fix security problems[1].
Remote unlocking should always be on.If you do not need it, the NCSC advises switching remote access off[1].
I will sort out the backup way in if the battery dies.Read the manual now, while you can still get in.

What can I do this week?

  • Turn on two-step verification for your lock's app account.
  • Review the code list and delete any code nobody uses.
  • Find out your lock's backup way in and where the backup key is kept.
  • Check the maker's website for how long your lock will get security updates.

Checklist

  • The app account has a unique password and two-step verification.
  • Any default password on the lock or hub has been changed.
  • Each person has their own code or digital key.
  • Visitors' codes have time limits or are deleted after use.
  • Automatic updates are on.
  • Remote access is off if you do not need it.
  • You know the backup way in and when to change the batteries.
  • You know the lock's minimum security update period.

Common questions

What happens if the batteries run out?

You use the backup way in, which varies by model. It may be a normal key or an emergency power point. Look in the manual now to find it, and to see how the lock warns you about low batteries.

What if I lose my phone?

Sign in to the lock's account from another device and remove the lost phone if the app allows it. Change your account password too. Keep a keypad code or key as a backup way in, so a lost phone does not lock you out.

Do smart locks work without the internet?

Some features do and some do not. Opening the door from far away needs an internet link, by definition. Whether keypad codes and nearby phone unlocking still work offline varies, so check the maker's guide before you rely on them.

Should I give guests or workers an app account or a code?

A personal code with a time limit is often the simplest choice. If you share app access instead, give each person their own invite, not your sign-in. Remove it when they no longer need it.

How do I pass on a smart lock when I move?

Remove the lock from your account and delete all codes. The NCSC advises a factory reset before passing on a smart device, which should remove your personal data[1]. Follow the maker's instructions to do this.

Where next?

Ready for the detail? Read the practitioner guide: Smart Home Security Guide. It goes further into smart device standards, networks and laws for connected products.

Also useful:

Related NHI Mgmt Group resources: Default Passwords for Beginners, Bluetooth Security for Beginners and Multi-Factor Authentication for Beginners.

Key terms

Smart lock
A door lock that can be opened with a code, app, card or fingerprint, often managed online.
Two-step verification
A second check at sign-in, such as a code from an app, on top of your password.
Default password
A password set by the maker that is the same or easy to guess until you change it.
Remote access
Controlling a device from somewhere else, such as unlocking a door while you are away.
Firmware
The built-in software that runs a device, updated to fix bugs and security problems.
Factory reset
Returning a device to its original settings, which should remove your data and accounts.

Sources and further reading

  1. National Cyber Security Centre, "Smart devices: using them safely in your home". https://www.ncsc.gov.uk/guidance/smart-devices-in-the-home (accessed 1 Dec 2026).
  2. Department for Science, Innovation and Technology, "The UK Product Security and Telecommunications Infrastructure (Product Security) regime", GOV.UK. https://www.gov.uk/government/publications/the-uk-product-security-and-telecommunications-infrastructure-product-security-regime (accessed 1 Dec 2026).
  3. National Cyber Security Centre, "Secure your important online accounts", Small organisations guide to cyber security. https://www.ncsc.gov.uk/collection/small-organisations-guide-to-cyber-security/secure-your-important-online-accounts (accessed 1 Dec 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.