chest looks like this

put 2 unencoded keys in both slots then get out of the chest and punch it to encode keys



Recipes:
key:

lock:

chest recipe1:

chest recipe2:

lower left slot is a lock, upper left is optional keyhole
locking/unlocking works by hitting the chest with the correct key or put the key in keyhole and punch the chest