# Chest Locks

Locks are a powerful feature in Theatria that allow you to secure your items and spaces from other players. By using the `/lock` and `/unlock` commands.

***

## **What is a lock?**

* **Personal Security**: When an object is locked, only the player who locked it can open or interact with it.
* **Compatibility**: Locks can be applied to:
  * **Chests**: Keep your valuable items safe.
  * **Doors**: Secure your base or private rooms.
  * **Trapdoors**: Protect secret entrances or hidden areas.

***

## **How to Use Locks**

### Locking an Item

To lock a chest, door, or trapdoor:

1. Stand near the object you want to lock.
2. Type the following command:

   ```
   /lock
   ```
3. Punch the object you want to lock.
4. A confirmation message will appear, letting you know the object has been successfully locked.

Now, only you can open or use the locked object. Any other players attempting to access it will be denied.

### Unlocking an Item

If you decide to remove the lock:

1. Stand near the object you want to unlock.
2. Type the following command:

   ```
   /unlock
   ```
3. Punch the object you want to unlock.
4. A confirmation message will appear, letting you know the object has been successfully unlocked.

Once unlocked, the object will be accessible to all players.

***

## **Additional Notes**

* **Lock Removal by Admins**: In case of abandoned locks or disputes, server admins can manually remove locks. Contact a staff member if you need assistance.
* **Limitations**: Each player has a limit on the number of locked objects, based on rank. Review our list of [Ranks](https://github.com/JL-III/Theatria/blob/master/docs/gameplay-features/ranks/README.md) to learn more.

***

[Gameplay Features](https://docs.playtheatria.com/minecraft/gameplay-features)
