Locks are blocks that can only be opened with help of a key of the same color. 


This is a lock.

When broken, a ghosted open lock will appear and a key will be removed from your inventory (the key used must be the same color as the lock). The user does not have to execute any action to open the lock, just touching it will open it.

If a lock is placed over a broken block and you jump on the side of the lock, the broken block breaks. This is an unintended feature, according to Colin.[1]

References Edit