> For the complete documentation index, see [llms.txt](https://wiki.tribals.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.tribals.io/tribals.io-wiki/building-elements/lock.md).

# Lock

Snaps to doors, containers, big containers and toolbox.

A lock mechanism for storage structures and doors. Can be assigned a password by its owner. Password must be 3 digits, could be set to between 000-999.

Protected by a [toolbox ](/tribals.io-wiki/structures/toolbox.md)if its placed adjacent to a protected building element.

Locks [storage box](broken://pages/aN5CuTRT3EcrMMzcVCTV), [large storage](/tribals.io-wiki/building-elements/big-storage.md), [toolbox](/tribals.io-wiki/structures/toolbox.md) and [door](/tribals.io-wiki/structures/door.md).

Doesn't support or provide any integrity to the structures around it. \
Decays with 20 units every hour.

Each hit costs 20 durability damage to the attacker's weapon.\
It has 10000 max durability.

[Craftable](/tribals.io-wiki/crafting.md), requires [<img src="/files/FIZSa7n8YWt8zslOqlzt" alt="" data-size="line">](broken://pages/ISVPELS1t2NiO3MBpcT2)50x and [<img src="/files/eGk3BrsFQbYi1HANW4H3" alt="" data-size="line">](broken://pages/oEsacQp8kSmqelweHQCb) 1x.

<table><thead><tr><th width="359">Lock</th></tr></thead><tbody><tr><td><img src="/files/nDpq90SzAukYUKfkDigF" alt=""></td></tr><tr><td>Placeable: Door</td></tr><tr><td>Durability: 10000</td></tr><tr><td>Protectable: Yes</td></tr><tr><td>Protection Cost: 1</td></tr><tr><td>Damage Cost: 20</td></tr><tr><td>Ownership: Yes</td></tr><tr><td>Decay Time: 20</td></tr><tr><td>Provides Integrity: No</td></tr></tbody></table>
