Doors and Locking Hardware, lesson 4 of 10
Keys and cylinders
Lesson 3 showed that a lock does two jobs: it holds the door shut, and it decides who may open it. This lesson is about the second job. Every card-controlled door still has a keyhole, and most doors have nothing else. Here you will see how a cylinder recognizes its key, how one building can have hundreds of keys and a few that open everything, and why the paperwork matters more than the metal.
Inside a cylinder
Choose a key and watch the pins. This cylinder is master keyed, so two different keys turn it.
The everyday picture
Picture a drawer in a desk. Someone has drilled five holes down through the desktop and on into the top of the drawer, and dropped a nail into each. Every nail bridges the gap between desk and drawer, so the drawer will not slide.
Now imagine each nail is cut into two pieces at a different height. If you could lift every nail by exactly the right amount, each cut would sit level with the gap, and the drawer would slide freely. Lift any one too little or too much, and it still blocks.
A key is a tool for lifting five or six pins by exactly the right amounts at once. The gap between desk and drawer is the shear line.
The parts of a cylinder
The part of a lock that takes the key is the cylinder. Nearly all commercial cylinders in the United States are the pin tumbler type shown above.
- Shell. The fixed outer body, also called the housing.
- Plug. The round core that turns. The slot in it is the keyway. The shape of that slot decides which key blanks will even enter.
- Pin chambers. A row of holes drilled through shell and plug. Commercial cylinders usually have six. Five and seven are also made.
- Key pins. The lower pins, which rest on the key. They come in graded lengths, one for each possible depth of cut.
- Driver pins and springs. The upper pins, pushed down by small springs. With no key, they straddle the shear line and lock the plug.
- Cam or tailpiece. The piece on the back of the plug that moves the lock when the plug turns.
The pattern of cut depths along a key is its bitting, written as a row of digits, one for each cut. Whoever knows the bitting can have the key made, so the numbers are treated as confidential and are never stamped on the key.
With six chambers and, say, ten depths, there are a million possible patterns on paper. Far fewer are usable, because makers forbid patterns that would wear badly or weaken the key, and because similar keys must be kept well apart.
Cylinder formats
The same pin mechanism is packaged in several shapes to suit different locks. You need the right format and the right keyway to order one.
| Format | What it looks like | Where you find it |
|---|---|---|
| Mortise cylinder | A round threaded body that screws into the lock case, with a cam on the back | Mortise locks, aluminum storefront doors, many exit device trims |
| Rim cylinder | A round body held by two screws from behind, with a flat tailpiece | Surface-mounted locks and the outside of many exit devices |
| Key-in-lever cylinder | A small cylinder housed inside the lever | Cylindrical locks |
| Interchangeable core | A figure-eight shaped unit that slides out of the front of the lock | Schools, hospitals and any site that rekeys often |
The interchangeable core deserves a second look. A special control key does not open the door. It releases the core so it can be pulled out and another pushed in. A lost key then costs a two minute core swap at the door instead of a locksmith's visit. Cores come in a small format, which is the same size from every maker, and large formats, which are not. The control key is the most sensitive key on the site.
Cams and tailpieces differ between lock makers. A cylinder that turns smoothly but does not move the bolt usually has the wrong cam.
Check yourself
With no key in the cylinder, what stops the plug from turning?
Keying a building
Deciding which keys open which doors is called keying. These are the terms you will see on a hardware schedule.
| Term | Short form | Meaning |
|---|---|---|
| Keyed different | KD | Each cylinder has its own key. |
| Keyed alike | KA | A group of cylinders share one key. |
| Change key | The ordinary key for one door, or one keyed-alike group. | |
| Master key | MK | One key that opens a group of doors that each also have their own change key. |
| Grand master key | GMK | A key that opens the doors under several masters. |
| Single keyed | SKD | A cylinder deliberately left off the master system. |
| Construction keying | A temporary arrangement so builders' keys stop working when the owner takes over. |
How a master key is possible
Select the master key in the drawing at the top. In two of the chambers there is an extra small pin, a master pin, between the key pin and the driver pin. That chamber now has two heights at which a gap lines up with the shear line. The door's own key uses one, and the master key uses the other.
This convenience has a cost that a designer must understand. Every master pin adds a second working height in its chamber, so the cylinder now accepts more key patterns than the two that were intended. The more levels of master key, the more of these unintended patterns exist, and the fewer safe change keys are left for the building. A master-keyed cylinder is always somewhat less selective than a single-keyed one.
Three design habits follow. Use as few levels as the building really needs. Two is common, and three covers most campuses. Keep the rooms that matter most, such as cash, drugs, evidence and server rooms, off the master system entirely. And have the system designed by a locksmith or the manufacturer, who use published rules to keep keys safely apart, instead of inventing bittings yourself.
Who opens what
Here is a small building with a two-level system and one room kept off it. Pick a key and see which doors it opens.
Try each key
Key control
A cylinder only knows that the right shape went in. It keeps no record and cannot tell an employee from a stranger holding a copy. So the security of a keyed building rests on key control: knowing how many keys exist and who holds each one.
- Restricted keyways. An ordinary key can be copied at any hardware store. A restricted keyway is one whose blanks the maker supplies only through authorized dealers, against a signature on file. Many are protected by patent for a period of years. "Do not duplicate" stamped on an ordinary key relies on courtesy alone.
- A key record. A list of every key by serial number, who signed for it and when. The cylinder cannot keep a log, so people must.
- Blind codes. Keys are stamped with a code that means nothing without the record. Never stamp a room number or a building name on a key.
- One person in charge. A single named owner approves every new key. Master keys are issued to as few people as possible and are signed out, not carried home.
- A plan for loss. When a key is lost, every cylinder it opened is rekeyed. A lost change key means one door. A lost master key means every door under it, which is the strongest argument for issuing few of them.
On a card-controlled door, the key is the key override: the way in when the electronics fail. It is used rarely, and no reader records it. Treat override keys like master keys, and consider a door position alarm so that a door opened without a card is noticed. The Access Control lesson "Monitoring: door alarms and events" explains that alarm.
Three examples
Simple: twelve keys on a ring
A small clinic has twelve doors, each keyed different, and the manager carries twelve keys. Staff prop doors open instead of finding the right key. The six consulting rooms have the same risk and the same users, so they are rekeyed alike. The drug cupboard and the records room stay keyed different and off any master. The ring drops to five keys and the doors get closed.
Medium: the lost master
A school caretaker loses a ring holding the building master. It opens 140 doors. With conventional cylinders, a locksmith would need days on site. This school has interchangeable cores. Spare cores, already pinned to a new master system, are swapped in with the control key in an afternoon, starting with the outside doors.
The review afterward matters as much. Why was a master on a ring that went home each night? The new rule is that masters are signed out from a key cabinet and returned the same day.
Advanced: keying a new office floor
A tenant fits out a floor with 40 doors. The first proposal is one master for everything. You look at who needs what. Cleaners need offices and meeting rooms after hours. Facilities staff need the electrical and communications rooms. Nobody needs a single key for the server room, the finance records and the offices together.
The design becomes two masters under no grand master: one for general offices, one for plant rooms. The server room and finance store are single keyed, on a restricted keyway, with card access as the normal way in and a signed-out key as the override. Fewer levels, fewer master pins, and the loss of any one key has a known, limited cost.
From the field
- Note the keyway and the format at survey. A photo of the key bow and the face of the cylinder usually tells a locksmith both.
- Ask who holds the key records before quoting. If nobody does, say so in writing. A new system on top of unknown keys inherits the problem.
- Check the cam. If a new cylinder turns but the lock does not respond, compare its cam with the old one.
- Lubricate with a dry product made for locks. Oil gathers dust and gums up the pins.
- Hand over construction keys formally. Confirm on the day that the builders' keys no longer work.
Common mistakes
- Putting every door, including the most sensitive rooms, under one master key.
- Adding levels of master key for convenience without counting what a lost key would cost.
- Trusting a "do not duplicate" stamp instead of a restricted keyway.
- Stamping room numbers or bittings on keys.
- Fitting card access and then handing out override keys freely, with no record of who has them.
Summary
- A key lifts each pin stack so its gap meets the shear line. Then the plug can turn.
- Cylinders come as mortise, rim, key-in-lever and interchangeable core. Format, keyway and cam must all match.
- Master pins give a chamber two working heights. That makes master keys possible and makes the cylinder less selective.
- Use few levels, and keep critical rooms off the master.
- A cylinder keeps no log. Restricted keyways, records and a named owner are what make keys secure.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. Name the line that every pin stack must be split at before the plug can turn, and say what sits on each side of it.
Show answer
Exercise 2. A cylinder has six chambers and each can be cut to one of seven depths. How many patterns exist on paper, and why are fewer used?
Show answer
Exercise 3. What does a control key do, and why is it guarded more closely than a master key?
Show answer
Exercise 4 (think, don't memorize). A property manager wants one grand master for six buildings "so the maintenance team carries one key". What questions do you ask, and what might you suggest instead?