# 자물쇠의 원리: 내 열쇠로만 돌아가는 이유

> 핀 텀블러 자물쇠는 플러그가 돌아가야 열리고, 시어 라인을 가로지르는 핀 묶음이 그것을 막습니다. 열쇠의 홈은 핀 묶음마다 높이를 다르게 들어 올리고, 맞는 열쇠만 모든 경계를 그 선 위에 놓습니다. 이론상 최대 10만 가지 열쇠, 그리고 마스터 키도 열리는 이유까지. 모든 수치에 출처를 단 49초짜리 설명 영상입니다.

- URL: https://oliverz.dev/ko/videos/lock-and-key
- Author: Oliver Zhang (https://oliverz.dev)
- Language: ko
- Published: 2026-11-03
- Tags: locks, how-it-works, explainer
- Video: https://www.youtube.com/shorts/ZvY2vcihcAs

> **요약:** 핀 텀블러 자물쇠에서는 하우징 안에 플러그가 들어 있고, 자물쇠가 열리려면 이 플러그가 돌아가야 합니다. 둘 사이의 경계선, 즉 시어 라인(shear line)을 다섯 개 안팎의 핀 묶음이 가로지릅니다. 묶음마다 키 핀, 드라이버 핀, 스프링이 하나씩 있습니다. 열쇠가 없으면 스프링이 드라이버 핀을 선 너머로 밀어 넣어 플러그가 꼼짝하지 않습니다. 열쇠의 홈은 핀 묶음마다 높이를 다르게 들어 올리고, 키 핀과 드라이버 핀 사이의 경계를 모두 정확히 선 위에 놓는 것은 맞는 열쇠뿐입니다. 홈 하나만 너무 깊거나 얕아도 핀 하나가 여전히 길을 막습니다. 핀 다섯 개에 깊이 열 단계면 이론상 최대 10만 가지 열쇠가 나옵니다. 마스터 키가 열리는 것은 스페이서 핀이 핀 묶음에 두 번째 경계를 만들어 주기 때문입니다.

## 돌아가야 하는 플러그

핀 텀블러 자물쇠에 대한 Wikipedia: "In this type of lock, an outer casing has a cylindrical hole in which the plug is housed. To open the lock, the plug must rotate."(이런 자물쇠에서는 바깥 케이스에 원통형 구멍이 있고 그 안에 플러그가 들어 있다. 자물쇠를 열려면 플러그가 회전해야 한다). Lockwiki: "The plug is the inner piece of the lock that rotates upon insertion and tension of the correct key."(플러그는 맞는 열쇠를 꽂고 힘을 주면 회전하는 자물쇠의 안쪽 부품이다).

The Engineering Mindset은 둘 사이의 선에 이름을 붙입니다: "The intersection between the plug and the lock housing is known as the shear line."(플러그와 자물쇠 하우징이 만나는 경계를 시어 라인이라고 한다).

## 시어 라인을 가로지르는 핀

둘 다를 관통하는 구멍이 뚫려 있습니다. Wikipedia: "A series of holes, typically five or six of them, are drilled vertically into the plug."(보통 다섯 개나 여섯 개의 구멍이 플러그에 수직으로 뚫려 있다). (우리 그림에는 다섯 개입니다.) 그 안에는 "key pins of various lengths, which are rounded to permit the key to slide over them easily"(열쇠가 쉽게 미끄러져 지나가도록 끝이 둥근, 길이가 제각각인 키 핀)가 있고, "Above each key pin is one or more spring-loaded driver pins."(각 키 핀 위에는 스프링이 달린 드라이버 핀이 하나 이상 있다). The Engineering Mindset: "Within each chamber we find a spring which pushes another pin, known as a driver pin."(각 구멍 안에는 드라이버 핀이라는 또 다른 핀을 밀어 주는 스프링이 있다).

## 열쇠가 없으면: 꼼짝 안 함

Wikipedia: "When the plug and outer casing are assembled, the pins are pushed down into the plug by the springs."(플러그와 바깥 케이스를 조립하면 스프링이 핀을 플러그 쪽으로 밀어 내린다). 그리고: "When the key is not in the lock, the pins straddle the shear point, preventing the plug from rotating."(열쇠가 꽂혀 있지 않으면 핀이 시어 지점에 걸쳐 있어 플러그가 회전하지 못한다).

The Engineering Mindset: "With no key inserted, the driver pins sit part way in the housing chamber and part way within the plug. This means the plug is unable to rotate."(열쇠를 꽂지 않으면 드라이버 핀이 일부는 하우징 구멍에, 일부는 플러그 안에 걸쳐 있다. 그래서 플러그가 회전할 수 없다).

## 홈마다 제 높이

열쇠는 높이를 한 줄로 늘어놓은 것입니다. The Engineering Mindset: "Each key pin is a different height, and this will correspond to the profile of the key."(키 핀은 저마다 높이가 다르고, 이것이 열쇠의 모양과 맞아떨어진다). Lockwiki: "Key pins are sized differently corresponding to the different depth cuts on the key."(키 핀은 열쇠에 파인 홈의 깊이에 맞춰 크기가 제각각이다). 이 깊이가 열쇠의 비팅(bitting)으로, "the depth of key cuts on a cylinder key for a pin tumbler lock, often expressed as a number"(핀 텀블러 자물쇠용 실린더 열쇠에 파인 홈의 깊이로, 흔히 숫자로 나타낸다)입니다(Wikipedia). 우리 예시 열쇠의 비팅은 2-6-4-8-3입니다.

## 맞는 열쇠: 모든 경계가 선 위에

Wikipedia: "With a key properly cut and inserted into the groove on the end of the plug, the pins will rise causing them to align exactly at the shear point. This allows the plug to rotate, thus opening the lock."(제대로 깎은 열쇠를 플러그 끝의 홈에 꽂으면 핀이 올라가 시어 지점에 정확히 맞춰진다. 그러면 플러그가 회전할 수 있어 자물쇠가 열린다). Lockwiki: "Each pin stack must be properly aligned to allow pins to separate at the shear line. Once all pin stacks are properly aligned the plug can freely rotate and actuate the locking bolt to lock or unlock the lock."(핀이 시어 라인에서 갈라지려면 핀 묶음 하나하나가 제대로 정렬되어야 한다. 모든 핀 묶음이 제대로 정렬되면 플러그가 자유롭게 회전해 잠금 볼트를 움직여 자물쇠를 잠그거나 연다).

플러그가 돌아가면서 핀은 그 선에서 갈라집니다. The Engineering Mindset: "The driver pins will have been pushed up and will now fully sit within the housing while the key pins sits fully within the plug. This means the plug is now able to rotate."(드라이버 핀은 밀려 올라가 하우징 안에 완전히 들어가고, 키 핀은 플러그 안에 완전히 들어간다. 그래서 이제 플러그가 회전할 수 있다).

## 홈 하나가 어긋나면: 막힘

Wikipedia: "If the wrong key is used, the pins remain misaligned, preventing the plug from turning"(틀린 열쇠를 쓰면 핀이 어긋난 채로 남아 플러그가 돌아가지 못한다). 홈이 너무 깊으면 드라이버 핀이 선에 걸린 채 남고, 너무 얕으면 키 핀이 선 너머로 밀려 올라갑니다. 둘 다 막는 설계는 오래되었습니다. Wikipedia의 역사 부분은 복동식 핀 텀블러를 "one where lifting the pins too much or too little prevented opening"(핀을 너무 많이 들어도, 너무 적게 들어도 열리지 않는 것)이라고 설명합니다. Lockwiki: "An incorrect key will not align all components correctly; rotation of the plug will be blocked at the shear-line."(틀린 열쇠로는 모든 부품이 제대로 정렬되지 않는다. 플러그의 회전은 시어 라인에서 막힌다).

## 이론상 최대 10만 가지 열쇠

Lockwiki: "Theoretically, most locks have a very high number of differs but in reality tolerances and bitting restrictions lower this number dramatically. For example, a 5 pin lock with 10 depth spacings has 10⁵ (100,000) theoretical key differs."(이론상 대부분의 자물쇠는 서로 다른 열쇠 조합이 매우 많지만, 실제로는 공차와 비팅 제약 때문에 그 수가 크게 줄어든다. 예를 들어 깊이 간격이 10단계인 5핀 자물쇠는 이론상 10⁵(100,000)가지 열쇠 조합을 가진다). 10 × 10 × 10 × 10 × 10입니다. Lockwiki의 말대로 실제로는 더 적고, 몇 가지인지는 숫자로 단정하지 않겠습니다.

## 마스터 키: 두 번째 경계

Wikipedia: "In a master-keyed lock, some or all of the pin chambers in the lock have three pins in them instead of two. Between the driver pin and the key pin is a third pin called the spacer pin, also known as a master wafer. Thus each pin line has two shear points."(마스터 키 자물쇠에서는 핀 구멍의 일부 또는 전부에 핀이 두 개가 아니라 세 개 들어 있다. 드라이버 핀과 키 핀 사이에 스페이서 핀, 또는 마스터 웨이퍼라고 부르는 세 번째 핀이 있다. 그래서 핀 줄마다 시어 지점이 두 개다). 그리고: "So the lock will open with two keys; one aligns the first set of shear points and the other aligns the second set of shear points."(그래서 자물쇠는 두 열쇠로 열린다. 하나는 첫 번째 시어 지점들을, 다른 하나는 두 번째 시어 지점들을 맞춘다).

건물이 이렇게 돌아갑니다: "Each tenant is given a key that only unlocks their own door, called the change key, but the second key is the master key, which unlocks all the doors."(입주자마다 자기 문만 여는 열쇠, 즉 체인지 키를 받지만, 두 번째 열쇠인 마스터 키는 모든 문을 연다).

## 핵심 정리

1. 플러그는 모든 핀 묶음이 정확히 시어 라인에서 갈라질 때만 돌아갑니다. 열쇠가 없으면 스프링이 드라이버 핀을 선 너머로 밀어 넣습니다.
2. 열쇠는 높이를 한 줄로 늘어놓은 것입니다. 홈마다 핀 묶음을 다른 만큼 들어 올리고, 홈 하나만 한 단계 어긋나도 핀 하나가 길을 막습니다.
3. 핀 다섯 개에 깊이 열 단계면 이론상 최대 10만 가지 열쇠가 나옵니다. 마스터 키가 열리는 것은 스페이서 핀이 핀 묶음마다 두 번째 경계를 만들어 주기 때문입니다.

## 출처

- Wikipedia: [Pin tumbler lock](https://en.wikipedia.org/wiki/Pin_tumbler_lock), [Master key](https://en.wikipedia.org/wiki/Master_keying), [Bitting (key)](https://en.wikipedia.org/wiki/Bitting_(key))
- The Engineering Mindset, P. Evans, [How Padlocks Work](https://theengineeringmindset.com/how-padlocks-work/) (2020)
- Lockwiki: [Pin-tumbler](https://lockwiki.com/index.php/Pin-tumbler), [Differs](https://lockwiki.com/index.php/Differs)

영상은 코드로 애니메이션을 만들었고, 대본은 AI의 도움을 받아 썼습니다. 위의 모든 인용은 원문과 대조해 확인했습니다. 설명을 위한 연출: 자물쇠와 열쇠 그림(비율, 다섯 개의 핀 묶음, 핀 길이, 열쇠 구멍, 정면 모습), 비팅 2-6-4-8-3과 고르게 나눈 열 단계 깊이, 틀린 열쇠들, 마스터 키 핀 묶음의 길이, 그리고 수많은 열쇠 무리. 이 영상은 원리만 설명할 뿐, 열쇠 없이 자물쇠를 여는 방법은 전혀 다루지 않습니다. 영상 내레이션은 영어입니다. 영상은 [Shotloop](https://oliverz.dev/ko/products/shotloop)으로 만들었습니다. 코드로 설명 영상을 만들고 한 샷씩 고칠 수 있는 제가 만든 무료 Mac 앱입니다.
