Locking Doors & Safehouse Permissions in Build 42 — Keys, Keypads, Claims
How locking works in Build 42: per-building keys, keypad doors, padlockable crates, and the multiplayer safehouse permissions that protect your base.
FAQ
Can you lock doors in Project Zomboid Build 42?
Does locking a door stop other players on a multiplayer server?
What is a safehouse claim in Build 42?
⚠️ Content Pending Full Verification
Single-player lock mechanics and the multiplayer safehouse option set below were assembled from official-forum threads (developer and community bug reports, April–September 2026) — our own in-game verification pass is still pending, and several adjacent questions are explicitly marked as untested.
The Short Version Cross-Verified
- Doors lock. The right-click menu on doors includes Lock/Unlock (a 42.17.0 bug report about missing options documents the intended behavior).
- Keys are per-building. Build 42 spawns keys belonging to a building’s own locked doors; they can live on a keyring. Basement/high-floor door compatibility was an open bug at 42.20.4.
- Some doors you cannot buy your way into. Red keypad doors (police stations and similar) are a distinct category — how players can legally open them is still on our verification list.
- Containers: 42.21’s own release notes reference padlocked containers and locked crates (Rosewood’s gun shop is described as “barricaded and locked”).
- Multiplayer: protection = safehouse claim + sandbox permission options, not padlocks. Details below.
Multiplayer: What Actually Guards Your Base
Vanilla B42 servers use a safehouse claim: right-click a residential building and claim it, which switches on the owner-scoped sandbox rules. The relevant server options surfaced across official-forum threads:
| Option (server sandbox) | What community testing reports |
|---|---|
SafehouseAllowTrespass |
whether non-owners can enter |
SafehouseAllowLoot |
whether non-owners see/loot containers — but a 12 Sep 2026 repro shows furniture can still be moved with it off |
AllowDestructionBySledgehammer / SledgehammerOnlyInSafehouse |
hammer protection toggles; a 42.20.3 report says the safehouse-only variant “breaks the function entirely” |
DisableSafehouseWhenOwnerConnected / SafetyDisconnectDelay |
when protection lapses around logouts |
If you run a server, the full setup walk-through is in the dedicated server guide; the protection mindset (why walls beat alarms) is in the base building guide.
Practical Reading for Now
Use building keys to control zombie flow and storage rooms inside your base, not to wage door-lock wars with other survivors — on multiplayer, only the safehouse layer and sane server settings do that (see survival basics for the day-one version of this discipline).
Related Articles
guides
Electrical Skill in Build 42 — Hotwiring, Generators & Real XP Methods
What Build 42's Electrical skill gates: hotwiring at level 1, the generator-unlock dispute, dismantling electronics for XP, and what stays unverified.
guides
Panic & Mood in Build 42 — What Changed, What Drives It
Build 42 rebuilt the mood system: new stress and pain moodles, deleted personality traits, and how panic ties to heavy-armor discomfort.
guides
Build 42 XP Table — Every Skill Level Threshold & Fastest Method
The Project Zomboid Build 42 XP quick-reference: per-level thresholds, skill-book multipliers, trait XP modifiers, and the fastest verified grind per crafting skill.
Was this helpful?
Thanks for the feedback!