Skip to content

Simple Locks

Simple Locks is a simple mod that adds locks, keys, and lockpick.

FabricNeoForgeForge
Loaders
FabricNeoForgeForge
Downloads on Modrinth
3.6K
Followers on Modrinth
4
versions
18
Updated
July 13, 2026Jul 13
Published
in 2026

At a glance

Runs on Fabric, NeoForge and Forge
For Minecraft 1.21.1, 1.21.11–26.2 …
Needed in the game and on the server
Latest version — 1.0.0+26.2-neoforge from July 13, 2026
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.4, 1.21.1, 1.21.11–26.2 …

Simple Locks

Simple Locks is a simple mod that adds locks, keys, and lockpick.

1

Lockpicking Mechanics

The lockpicking mechanic requires players to use a lockpick to push the pins up and set them into place. The sequence of these pins is completely random. Some pins will not settle at the top on the first try and will begin to fall back down at varying speeds—sometimes slowly, sometimes quickly. For these descending pins, you must press Space or Click before the pin drops below the "2nd zone," as shown in the image below. If you make a mistake and all the pins drop, the pin sequence itself does not change, but which pins fail to settle on the first try will be randomized again. However, if your lockpick breaks, the entire sequence of the pins will be reset and completely randomized.

2 3 3

Commands

  • /simple_locks lockpick [enable/disable]

Enables or disables lockpicks. Enabled by default.

  • **/simple_locks lockpickBreakChance <0 - 100 | default>** Sets the lockpick breakage chance for a specific lock. Accepts values from 0 to 100, or 'default'. The 'default' option applies the base value of that lock. Valid locks: ironLock, goldLock, diamondLock, netheriteLock Example : /simple_locks lockpickBreakChance ironLock 50
  • /simple_locks multiLock [enable/disable] Enables or disables the ability to lock and unlock multiple locks with a single key (a key can only unlock the locks it has locked). When disabled, one key is bound to a single lock. Enabled by default.
  • /simple_locks keyReset [eneble/disable] Enables or disables the ability to clear a used key. When enabled, placing a key with a lock ID into any crafting grid will return a blank key of the same material with no ID. Enabled by default.
  • /simple_locks unlock Unlocks the locked block the player is currently looking at without requiring a key.

Configurations

This mod generates a simple_locks.json file inside the Minecraft config folder. You can make any vanilla Minecraft block—or blocks from other mods—lockable by adding their specific identifiers to this file.

Example:

{
  "lockable_blocks": [ 
    "minecraft:tnt",
    "minecraft:furnace"
  ]
}

With the configuration above, you can now place locks on TNT and furnaces. You are not limited to vanilla Minecraft blocks; you can add block identifiers from other mods into this JSON file to make them lockable as well.

When a lock is placed on a block and is in the locked state, the block gains the following properties until it is unlocked with the correct key:

  • It cannot be broken.
  • Items cannot be inserted into or extracted from it (e.g., via hoppers).
  • It becomes completely immune to redstone signals.
  • It cannot be moved by pistons.

Note: Adding certain complex or incompatible blocks to this list may cause the game to crash. Proceed with caution when adding modded blocks.

4 5

FAQ

How to install Simple Locks?

Install Fabric for your Minecraft version, download Simple Locks for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Simple Locks support?

Simple Locks has builds for Minecraft 1.19.4–1.20.1, 1.20.4, 1.21.1, 1.21.11–26.2 ….

Is Simple Locks needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More