Lock and Key - MinecraftschurliMods/Bibliocraft-Legacy GitHub Wiki

A Lock and Key can be used to add a lock to a supported container block, or remove a lock if it already had one. By default, all vanilla containers and all Bibliocraft containers are supported.

To use the lock and key, you must first rename it in an anvil. Then, right click a container of your choice. Once locked, only items with the exact same name as the used lock can be used to access the container. Do note that the lock does not prevent players from breaking the block.