Minecraft wiki entry for Piston_uses, associated text: A chest with an opaque block above it cannot be opened. A sticky piston can be used to replace or remove that block, effectively locking the chest and its contents. Note that chests themselves cannot be moved by pistons. This can be combined with a combination lock for added security.