Guide

How Does a Door Lock Work? Cylinders, Bolts and Latches

A door lock works when a key, code or fingerprint turns a cylinder that moves a metal bolt into the door frame. A latch holds the door closed, while a deadbolt is the part that resists force. Smart locks swap the key turn for a small motor called an actuator, and the backset tells you whether a lock fits your door.

Updated 2026-11-13 · Based on published specifications and maker information

Top picks from our best door lock comparison

The three parts that do the work

Most home door locks are built from three parts: the cylinder, the bolt and the latch. The cylinder is where you put the key. The bolt is the metal piece that slides out of the door edge into the frame. The latch is the spring-loaded piece that keeps the door shut when it is closed but not locked.

Knowing which part does what makes spec sheets much easier to read. When a listing mentions a cylinder, a deadbolt or a latch, it is describing one of these three jobs. The table below sums them up.

If you are comparing locks as you read, our best door lock page puts these specs side by side.

PartWhat it doesMoves when
CylinderReads the key and releases the mechanismYou insert and turn a correct key
DeadboltSlides a solid bolt into the door frameYou turn the key or thumb turn
Latch boltHolds the closed door with a springThe door shuts or the handle turns

What a door lock cylinder is

A door lock cylinder is the round barrel inside the lock that your key slides into. Inside it is a rotating core, often called the plug. The plug cannot turn until the right key lifts a set of small pins to the correct heights. A wrong key leaves the pins in the way, so the plug stays put.

When the correct key lines everything up, the plug turns. It is attached to a cam or tailpiece, and that piece pulls the bolt back or pushes it out. The key does not move the bolt directly. It only frees the plug so the cam can do the job.

Some makers say their cylinders resist picking and drilling. The Estmoon set on our comparison page, for example, lists a high-security cylinder with that goal. Treat this as the maker's description, and use the security grade as the common point of comparison.

Deadbolts and latches: not the same thing

A latch bolt has a beveled end and a spring behind it. When you close the door, the bevel slides over the strike plate in the frame and the spring pushes the bolt into the opening. That keeps the door from swinging open, but a latch is not built to resist force. A thin tool or a hard push can often work against it.

A deadbolt has no spring and no bevel. It is a solid bolt that only moves when you turn the key or thumb turn. Because nothing pushes it back in, it holds firm against prying. This is why our buying guide says a deadbolt does most of the work of keeping a door shut, and why we suggest checking that one is included.

A single-cylinder deadbolt uses a key on the outside and a thumb turn on the inside. Estmoon describes its set this way. The Gobrico set lists an anti-sawing bolt, which is a feature meant to make cutting through the bolt harder.

  • Latch bolt: spring-loaded, keeps the door closed, handles daily use.
  • Deadbolt: solid, manual, adds the real resistance.
  • Knob or lever sets alone usually include a latch only, so check for a separate deadbolt.

What a door lock actuator is

An actuator is the small motor and gear set inside a smart lock. On a keyed lock, your hand turns the key. On a smart lock, a keypad code, fingerprint or app command tells the actuator to do that turning instead. The motor drives the bolt out or back, just as the cam would.

This is why smart locks run on batteries. The TEEHO TE001 keypad deadbolt, for instance, uses 4 AA batteries and lists a low battery indicator. The Veise VE017 fingerprint lock also uses 4 AA batteries and lists a USB-C emergency port, plus a mechanical key as a backup.

Cars use the word actuator for a similar part in power door locks. In a house door, it is the same idea: a motor does the work of turning the lock.

What backset means and why it matters

Backset is the distance from the edge of the door to the center of the large hole you drilled for the lock. The latch has to line up with that hole, so a lock built for the wrong backset will not fit.

Most locks suit one of two common sizes, and many adjust between them. The Estmoon, Gobrico and Veise locks on our page list a backset range of 2.375 to 2.75 in. Door thickness matters too. Estmoon and Gobrico list 1.375 to 1.75 in, while the Veise lists up to 2 in.

The bore hole is a separate measurement. The TEEHO lists a 2-1/8 in (54mm) hole and says it does not fit a 38mm hole. Estmoon also lists a 2-1/8 in bore.

  • Measure the door thickness at the edge.
  • Measure from the door edge to the center of the bore hole for the backset.
  • Measure the bore hole across its width.
  • Compare all three numbers with the spec sheet before you buy.

How to compare locks using these parts

Start with the security grade. Most products on our best door lock page list ANSI Grade 3, which we treat as the baseline for a front door. A lock with no grade listed gives you nothing to compare on security.

Next, confirm a deadbolt is included, then look at the cycle rating if one is given. A cycle is one lock and unlock operation. The Gobrico lists 250,000 cycles, and the Estmoon lists 200,000. Only 7 of the 18 products on that page publish a cycle rating, so a missing number is common.

If you want one key for several doors, look for keyed-alike sets. Estmoon lists 12 keys, all keyed alike. For a wider view of options, see our best door lock comparison.

Safety notes

Never drill into a door while the old lock still holds a key in the cylinder or while you are guessing where wiring or a pipe might be nearby. Wear safety glasses when drilling or cutting a bore hole, since wood chips and metal shavings fly. Keep a ladder stable if you are working on a high door or transom.

Do not lock yourself out of an exit. Keep a working key, or the emergency option on a smart lock, in a safe spot inside the home. If you change batteries in a keypad lock, replace all four at once with fresh ones of the same type, and respond to low battery lights promptly.

Frequently asked questions

Can a deadbolt be opened without a key?

A single-cylinder deadbolt usually has a thumb turn on the inside, so you can open it from indoors without a key. From outside, it needs the key, code or fingerprint.

Do I need a deadbolt if my knob already locks?

A locking knob usually controls only the latch. A separate deadbolt adds a solid bolt that resists force, so most front doors benefit from both.

What does keyed alike mean?

Keyed alike means several locks open with the same key. It saves you from carrying a different key for each door.

Why does a lock say reversible handing?

Reversible handing means the lever can be set for a left-hand or right-hand door. Check the listing, since not every lock offers it.

Compare the products