The lock you probably already own
If you look at your front door deadbolt, the padlock on a shed and the lock on a filing cabinet, there is a good chance all three use the same basic design. It is called the pin tumbler lock, and it has been in common use for a very long time. The reason is simple: it is reliable, inexpensive to make, easy to rekey and works well with a small, flat key that fits in a pocket.
The lock looks like a small round cylinder with a keyway slot in the face. Behind that slot is a set of tiny spring loaded pins. You never see them, but they do all the work. When you push in the correct key, the ridges and valleys along its edge move those pins to exactly the right heights, and the cylinder can turn.
Understanding this picture is useful beyond curiosity. Once you know what is going on behind the keyway, many puzzling problems make sense: why a worn key sticks, why a lock stiffens in humid weather, why rekeying is possible without replacing the whole lock, and why a copied key from a poor blank can fail.
There are other designs, such as wafer locks, disc locks and electronic locks, and each has its own character. But the pin tumbler is the one most people meet every day, so knowing how it works gives you a strong base for understanding the rest of the field.
This guide does not teach anything about defeating locks. It explains what the parts do so that you can describe a problem accurately, choose hardware with more confidence and understand what a locksmith means when they talk about pins, plugs and the shear line.
The parts, one at a time
There are a few parts to know. The housing is the fixed outer body, called the shell. Inside it sits the plug, a round piece that rotates when you turn the key. The plug has the keyway on its face. Along the top of the plug and the shell are small vertical holes drilled in a row, and each hole contains pins and a spring.
Each pin stack has at least two pieces. The lower piece, called the key pin, touches the key. The upper piece, called the driver pin, sits above it, pushed down by a spring. The spot where the plug meets the shell is called the shear line. When the pins are all at the correct height, the gap between each key pin and driver pin lines up exactly at the shear line, and the plug can rotate.
Behind the plug is a cam or tailpiece, connected to the mechanism that moves the bolt or latch. When the plug turns, so does this piece, and the bolt retracts or extends. So the cylinder is the brain, and the bolt is the muscle. The cylinder decides who may move the bolt, and the bolt does the physical work.
To make the picture concrete, imagine a row of five small elevators. Each elevator has two cars, one stacked on the other, and a spring pressing them down. The key acts like a set of ramps that raises each elevator by the exact height needed to bring the gap between the two cars level with the floor. Only when all five are level can the doors, which here are the plug, slide open.
The springs are small but important. Their job is to push the pins back down every time the key is removed, so the lock returns to its blocked state without any action from you. A weak spring can leave a pin hanging, and the lock may then behave as though it were half open.
- The shell is the fixed outer body of the cylinder.
- The plug is the inner part that rotates when the right key is turned.
- Key pins touch the key, and driver pins sit above them under spring pressure.
- The shear line is the gap between plug and shell that the pins must line up with.
- The cam or tailpiece connects the plug to the bolt or latch.
Tell the dispatcher the Orlando area, what happened and what you are standing in front of, whether a door, a vehicle or a gate.
CallWhat happens when you insert the key
When no key is in the lock, the springs push the driver pins down into the plug. The pins straddle the shear line, and that blocks the plug from turning. It is like a row of tiny bolts keeping a door shut. The plug is held firmly.
As the correct key slides in, each ridge on the key pushes up the key pin beneath it by a particular amount. The depth of every cut along the blade of the key is different, and each cut matches the length of a particular pin. When the key is fully inserted, every key pin has been lifted just enough that the break between it and the driver pin sits right on the shear line.
With every pin aligned, nothing crosses the shear line any longer. The plug rotates freely when you turn the key, and the bolt moves. Pull the key out and the springs push the pins back down, locking the cylinder again. The whole sequence takes a moment, but it is the foundation of how most keyed locks work.
This is also why a key must be fully inserted. A key pulled out slightly may rest some pins at the wrong height. People sometimes find that pulling the key out a tiny amount makes a worn lock turn. That is a sign of wear in the key or the pins, and it deserves attention rather than habit.
Why the wrong key does not work
A key with different cuts lifts the pins to different heights. Some pins may be too high and some too low. When a pin sits above or below the shear line, it keeps part of the plug and part of the shell connected, and the plug cannot turn. Even one pin out of place is enough to block the lock.
This is why a key that looks close but not exact may slide in and then refuse to turn. It is also why the number of pins and the number of possible heights matter. A lock with more pins and more height options has more possible key combinations. Common house locks have five or six pin positions, which gives a large number of combinations, though makers often do not use every possible combination to keep manufacturing practical.
Keyway shape adds another layer. The profile of the slot restricts which keys can even enter. Different brands use different profiles, and some are restricted so that blanks are harder to buy. If you want to understand more about that, see restricted keyways and why they matter and the short glossary of keyway and bitting terms.
Copies matter here too. A copy cut on a poor blank, or with a slightly misplaced cut, may lift one pin a hair off its correct height. The result is a key that works sometimes or only with wiggling. The guide on key blank types and why copies fail explains how that happens.
One more practical point: keys that look identical are not always identical. Two keys can share a shape and still differ by a single cut, and that single cut is enough to stop one from working in the other's lock. When you label keys at home, label by door, and keep the original and copies apart so you can tell which one has started to misbehave.
How rekeying uses the same design
The pin tumbler design is the reason rekeying is possible. The pins inside the cylinder can be swapped for pins of different lengths. When a locksmith rekeys a lock, they change the pins so that a different key lines them up at the shear line. The old key, whose cuts no longer match the new pin heights, no longer works.
The rest of the lock stays the same. The shell, the plug, the springs, the bolt and the hardware on the door remain in place. That is why a rekey is usually described as changing the key to a lock without changing the lock itself. It is a common step after moving into a new home, after a lost key or after a tenant leaves. Our guide on how rekeying changes who can enter explains the effect from the user's side.
The result is a fresh set of keys that open the existing lock, and old keys that become useless for it. If you want a clear walkthrough of when to rekey and when to replace, see lock replacement or rekeying, or visit the rekeying service page.
Many people ask whether rekeying makes a lock weaker or stronger. In general it does neither, because the same style of lock is simply set to a new combination. What changes is who holds a working key. If you want a stronger lock, rekeying is not the tool, and a different grade of cylinder or deadbolt would be the topic. Keep the two ideas separate when you plan.
Why wear and dirt cause so many problems
Because the mechanism relies on tiny parts moving freely, it is sensitive to wear and grime. Over time, the key itself wears down. The ridges become rounded, and the pins no longer rise exactly to the right height. A worn key may work only if jiggled or pulled out a hair. The guide on why brass keys wear down goes through the cause.
Inside the lock, dust, lint, pollen and tiny metal particles collect. They can make pins sluggish, so they do not spring down or lift cleanly. A lock that feels gritty or stiff is often telling you this. See when a lock feels gritty or stiff for the usual signs and sensible steps.
Springs can weaken and pins can wear as well, particularly in locks that are used many times a day. A cylinder at the end of its life may stick, fail to return or allow the key to turn partway. At that point repair or replacement is usually wiser than continued coaxing. A calm description of the symptoms helps a locksmith decide.
Seasonal change is worth a mention. A lock that works well in cool dry months can feel different in August, with a sticking bolt or a key that needs more effort. If the pattern repeats each summer, note it and mention it when you call. Repeated seasonal trouble usually points to the door fit rather than a failing cylinder.
Heat, humidity and storms
Central Florida weather puts its own stress on locks. Heat can expand metal parts and thicken some lubricants. Humidity encourages corrosion and can swell wooden doors, which pushes the bolt against the frame and makes the key harder to turn even if the cylinder itself is fine. Afternoon storms can drive moisture into outdoor locks, leaving residue and rust over time.
It helps to separate the cylinder from the door. When a key is stiff, ask whether it is hard to turn only when the door is closed or also when the bolt is not engaged. If the key turns easily with the door open but not when closed, the problem may be alignment and not the cylinder. Our pages on lock maintenance for hot climates and humidity and swollen doors go deeper.
Salt air near the coast and general moisture can speed up corrosion. Brass is fairly tolerant, but steel parts inside the lock can rust. Choosing hardware with finishes made for outdoor use makes a difference, a topic worth raising when you pick new hardware.
A good habit is to carry a clean, undamaged key and keep the spare in good shape. When you notice that your main key is getting thin at the tip or rounded along the edge, have a fresh one made before it fails. It is a small, calm task that prevents a stressful lockout later.
What to do and not do when a key sticks
If your key sticks, stop and think rather than forcing it. Pushing hard with a twisting motion can bend the key or break it in the lock, which leads to a much bigger problem. If the key is worn, try the spare, since a fresh copy cut from the original or from a code may work more smoothly.
A small amount of the right lubricant can help a dry cylinder, but the wrong product can attract dust and gum up the pins. Heavy oil is a common mistake. Our guide on lubricating a lock the right way sets out the safe approach. If lubrication does not help, the cylinder may need cleaning or replacing.
If a key has already snapped, do not try to dig out the piece with improvised tools. That can push the piece deeper or damage the pins. The guide on what to do when a key breaks covers the careful steps, and the broken key extraction page describes the service.
If you are unsure whether your problem is the key, the cylinder or the door, describe the symptoms to a locksmith. When it happens, how it feels, and whether it changes with weather all help narrow things down.
Finally, remember that no lock is a promise. It is one layer in a plan that includes good habits, sound doors, sensible lighting and neighbors who notice. The pin tumbler does its job well when it is matched to the door, kept clean and paired with keys you can account for.
What the design can and cannot do for security
A standard pin tumbler lock provides decent everyday security against casual attempts, but it is not magic. Different grades of lock use stronger materials and tighter tolerances. Some include extra security pins or hardened parts. Those features raise the bar against attempts to defeat the lock without the key. Our overview of what pick resistant means on a lock label explains what such marketing labels mean in practice.
Remember also that the cylinder is only one piece of the door. A strong cylinder in a weak frame, with short screws and a loose strike plate, gives less protection than it seems. Think of the lock as part of a chain. The key, the cylinder, the bolt, the strike and the frame all matter.
When you want to improve security, a locksmith can talk through the options. That may mean a higher grade deadbolt, a longer strike, a restricted key, or a different lock type altogether. Our guide to lock grades for homeowners is a good companion.
Questions people ask
What is the shear line?
It is the thin boundary between the rotating plug and the fixed shell of the cylinder. When the correct key lifts every pin pair so the gap between them sits exactly on that boundary, the plug can turn. If any pin crosses the line, the plug stays locked.
Why does my key sometimes stick but work on another try?
Worn key ridges, dirt in the pin holes or a weakening spring can make the pins move unevenly. Door alignment also matters, since a bolt pressing on the strike makes turning harder. Try your spare key, avoid forcing, and have the lock looked at if it keeps happening.
Can a worn key damage a lock?
A badly worn key does not lift the pins accurately, which can cause sticking and extra strain. Forcing it can make things worse. Replacing a heavily worn key with a fresh one cut from the lock, not from the worn copy, often restores smooth action.
How many pins does a typical lock have?
Residential cylinders commonly use around five or six pin positions, though designs vary. More positions allow more key combinations. The number alone does not tell you how secure a lock is, since materials, tolerances and the door itself also matter.
Is rekeying the same as replacing the lock?
No. Rekeying changes the pins so a new key fits and old keys stop working, while the lock body stays in place. Replacement swaps out the hardware entirely. Which is better depends on the lock's condition and your goals, and a locksmith can explain both.
Does humidity really affect a lock?
Yes, though often through the door and frame rather than the cylinder alone. Swollen wood can press the bolt against the strike, making turning stiff. Moisture can also encourage corrosion over time, particularly on outdoor locks, which is why suitable finishes and occasional care matter.