Shulker boxes lose their "Lock" tag when mined.
- Place the block
- Right click and observe "Shulker Box is locked!" message
- Mine the block and place it again
- Right click and the Shulker opens.
This makes lockable, moveable inventories impossible in adventure maps.