A secure method to store items and lock them with a key of your choice!
This functionality operates seamlessly in both singleplayer and multiplayer modes.
How to use:
To lock any container, simply gaze at it and execute the command '/trigger ChestLock' while holding a tripwire hook that you've renamed in your main hand. If the container isn't already locked, it will secure it with the key you're holding, making it accessible only with that specific key.