Prevent locked blocks from being broken.