this post was submitted on 09 Feb 2026
60 points (100.0% liked)

No Stupid Questions

46340 readers
450 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS
 

It’s my understanding that mass produced items are all basically the same. If you buy something like a toothbrush, for example, then any other toothbrush from that same assembly line is going to be basically the same and have all the same specs (with the exception with minor defects here and there), because the machinery and process to make any those toothbrushes are all basically the same.

But that can’t be the case with locks and keys. Because if every lock and key were the same then there’d be no point in having them. Anyone could just bought the same key/lock combo could use it to unlock your front door. So all or most keys and locks must be unique. So how are they mass produced in a way that preserves their uniqueness?

top 21 comments
sorted by: hot top controversial new old
[–] asmoranomar@lemmy.world 28 points 2 hours ago (1 children)

Actually, a lot of locks ARE the same. I lived in a brand-new complex years back, and everyone had the same lock and key. It didn't take long for some kids to start breaking into other people's houses, and since it was all under HOA owners couldn't just buy mismatched locks.

Then when I bought a 10 yr old home later, I was sitting at the house when some maintenance crew unlocked my door and walked right in. They tried to tell me I was squatting and it wasn't until they realized they were to do work on my neighbors house. Went and checked with other neighbors and found out a handful of us all had the same keys of about 4 varieties. Ironically, there were even two families that knew this before then and they told us how they bought new locks - and found out that those too were the same key.

So basically, if you buy a new lock, you should have it checked by a locksmith and rekeyed if needed.

[–] 14th_cylon@lemmy.zip 2 points 4 minutes ago

and since it was all under HOA owners couldn’t just buy mismatched locks.

as an european, i always roll my eyes at the concept of hoa, but this is definitely wildest i have seen in this context 😂

[–] Steve@communick.news 45 points 3 hours ago

This video explains how standard locks work.

Basically all the parts of the lock are mass produced. Only the pins are unique. And they're aren't actually unique, just the combinations of pins are.

[–] Skyrmir@lemmy.world 22 points 3 hours ago

Each tumbler has 4 to 6 sizes in 3 to 6 holes. They set the combination, then cut the key and put the matching tumblers in a standard housing.

Half the security on most locks is that it's hard to get tools in the tiny slots. The actual number of combinations is small, but difficult to scan through.

[–] YurkshireLad@lemmy.ca 10 points 2 hours ago (1 children)

I don’t know the answer but there’s a guy on YouTube who easily opens all locks, sometimes by just hitting two together or by insert part of a beer can to, well I’m not even sure what to call it. It’s interesting stuff.

[–] Cawifre@lemmy.world 14 points 2 hours ago (2 children)
[–] Kolanaki@pawb.social 10 points 2 hours ago (1 children)

There's another one that popped up pretty recently that almost never uses real locksmithing tools, and just makes a shim out of an aluminium can real quick to pop open a lock. They got Streisand Effect'd by some lock company trying to claim his videos are bullshit becsuse he frequently shows how that particular brand of lock sucks ass.

[–] hoshikarakitaridia@lemmy.world 14 points 2 hours ago

McNally v Proven Locks

Is probably what you're talking about. And apparently Proven Locks is mostly a shit show with one ok product and full of "hurrdurr American patriot" marketing.

[–] YurkshireLad@lemmy.ca 1 points 1 hour ago

It’s possible. Sorry I can’t remember the name.

[–] DomeGuy@lemmy.world 5 points 2 hours ago (1 children)

Mass produced items are not all the same. They are merely similar, and can have whatever variations the bulk manufacturing process requires or allows.

Not every car made on the same assembly line on the same day had the same options, and near every cake baked in a mass bakery will have a distinct internal structure.

[–] homesweethomeMrL@lemmy.world 1 points 23 minutes ago

You can never step in the same river twice!

[–] floquant@lemmy.dbzer0.com 3 points 2 hours ago (2 children)

Side question: does anyone know if manufacturers rely on entropy to get the required randomness or if they "enforce" patterns by selecting and directing pins?

[–] dbx12@programming.dev 1 points 11 minutes ago* (last edited 10 minutes ago)

There are actually "rules" about which pins may go into which positions. For example, you don't want a very short pin (resulting in a "thick part" on the key's blade) in the first position (closest to the bow, the part you are gripping on a key) and then only longer pins the further you move towards the tip. If you had such key, you could remove it from the lock while the plug is turned as only deeper cuts (for longer pins) are encountered by the first pin. And a deeper cut can take a shorter pin without issues. That's why you don't see keys with a "staircase pattern".

Another limitation is MACS (maximum adjacent cut specification), which governs which cut depths may be adjacent. When you insert a key, the pins ride up and down the cuts on the key. If you were to put a super deep cut next to a super shallow cut, the "slope" gets too steep and the key is hard to insert or remove. This means if you know the depth of one cut and the MACS for this model of lock, you can rule out certain cut depths for its direct neighbors. For example, you know that the key you want to forge has a very deep cut, let's say depth 8, on a particular position. Since we know the model of the lock (the professionals recognize a lock just by looking at the keyhole), we know that MACS is 5 and the deepest possible cut is a 9. The direct neighbors of our 8 can be either a 9 or anything from 7 to 3. They cannot be 1 or 2 since that would violate the MACS and repeating the same depth is also very unusual, so we can rule out 8.

Now add manufacturing tolerances into the equation and the potential key space is getting even smaller.

Edit yes, locks are a great thing to nerd out about.

[–] Urga@lemmynsfw.com 1 points 1 hour ago

Since in some cases the wrong key can open a lock, and there are not even unique locks made over the production history of a product, I'd say no. This is not cryptography in most cases.

[–] CallMeAl@piefed.zip 8 points 3 hours ago

Most of the parts of a lock are the same. However, the small internal parts, like pins and springs, are variable and can be changed out, usually by a locksmith. Those are the parts that require a matching key.

[–] DeathsEmbrace@lemmy.world -4 points 2 hours ago* (last edited 2 hours ago) (2 children)

locks arent useful majority can be broken with the right lockpick. Also they mass produce them with variations so that they dont work on another you would find it hilarious how easy one lock can have multiple key configurations by changing the math behind the pins and keys. It’s more to prevent someone doing it easy and just opening the door than an actual burglary. This is one of those inventions that prevents opportunistic behaviour

[–] DomeGuy@lemmy.world 6 points 2 hours ago (2 children)

The utility of a lock is that it's a clear permission barrier. If you don't have the key and bypass the lock, it's clear at least to you that you aren't using a key. Which can be the difference between ordinary trespass and burglary.

[–] TheFogan@programming.dev 3 points 2 hours ago

2 fronts I'd say.

  1. Yeah it makes it clear someone breaking in, was doing the effort to conciously get into something that he wasn't permitted to rather than just, opened the wrong door.

Also would point out, low knowledge low effort crooks, really 9/10 situations there's an easier way to get in than the lock. Your house is far more likely to be broken in by someone smashing a window rather than picking a lock.

[–] DeathsEmbrace@lemmy.world 2 points 2 hours ago (1 children)

You would be surprised at how much opportunity based situations leads to crimes being committed and that opportunities are more important than the crime itself

[–] DomeGuy@lemmy.world 2 points 1 hour ago

While I certainly don't want to argue about the wisdom of preventive measures towards petty crime or dangerous outcomes, i think it's worth knowing that even trivially surpassed barriers can alter what recompense or punishment can be provided from a court of law.

For example: There was a big copyright infringement case against an AI company recently, which ended in a settlement of a few thousand dollars per registered work so infringed. Authors whose work wasn't registered were not eligible for the same amount, because the law limits how much they can recover if a work's copyright wasn't registered.

[–] floquant@lemmy.dbzer0.com 2 points 2 hours ago

Right tools and skills, which is an important part. Just buying the appropriate pick won't magically make you able to open a disc detainer lock, but sure, wafer pins locks can literally be opened by randomly sticking a paperclip in it and using a tensioner.