Code Lock

The code lock is used to lock doors, hatches, and storage crates. Players may set a new four-digit PIN if the lock is unlocked. Once locked, an LED on the keypad will change to red, indicating its status. Other players may attempt to gain access to a locked item by typing in a PIN in the keypad. If they are correct, a short beep will emit from the lock, and the player will subsequently have permanent access to the locked item (assuming the code isn't changed). If the player guesses incorrectly, a failure beep will play alongside an electric arc animation on the keypad, and the player will take increasing increments of damage until they wait long enough or die. Guest codes may be set on unlocked locks (make sure it's locked after setting the code!), which allows other players access to the locked item without the ability to unlock, remove, or change the code. Unlocked Code Locks may be removed or have a new password set by any player.

Code Lock
  1. Craft
  2. Recycle
  3. Locks
  4. Tips
Blueprint Ingredients Time Workbench Level
Code Lock Blueprint Code Lock Blueprint

Known by Default

Metal Fragments×100 7–30 sec -
Recycler Yield
Recycler Code Lock>Metal Fragments×50
Item Category
Sheet Metal Double Door Sheet Metal Double Door Construction
Armored Double Door Armored Double Door Construction
Wood Double Door Wood Double Door Construction
Sheet Metal Door Sheet Metal Door Construction
Armored Door Armored Door Construction
Wooden Door Wooden Door Construction
Ladder Hatch Ladder Hatch Construction
Triangle Ladder Hatch Triangle Ladder Hatch Construction
High External Stone Gate High External Stone Gate Construction
High External Wooden Gate High External Wooden Gate Construction
Prison Cell Gate Prison Cell Gate Construction
Chainlink Fence Gate Chainlink Fence Gate Construction
Garage Door Garage Door Construction
Shop Front Shop Front Construction
Fridge Fridge Items
Large Wood Box Large Wood Box Items
Locker Locker Items
Large Planter Box Large Planter Box Items
Small Planter Box Small Planter Box Items
Tool Cupboard Tool Cupboard Construction
Wood Storage Box Wood Storage Box Items
Coffin Coffin Misc

the phreshmaker[contributor] 473 pts. year ago

Can be placed on boxes when you cannot reach the lock! This will prevent you from locking the lock and also preclude you from removing the lock and, in turn, the box.
When you initially equip a box, the side facing you will be where a lock would go.

Visual aids when placing a box:

  • For the large box, the lock goes in the thin rectangular bevel centerline below the lid.
  • For the small box, it goes on the side clockwise from where two gaps can be seen in the planks on the shorter side.

wickeD^ 6 pts. 2 years ago

Now, this might not be relevant but who nows! I'm new played around 30hrs at this very moment i'm posting this! AND i can say this much to the newcommers out there! if you don't play solo get this lock ASAP, the key lock is so annoying! Code Lock <3
Identifier 1159991980
Stack Size ×10
Despawn time 5 min