Understanding Lock Bits, Fuse Bits and Code Security

The only way to clear the lock bits is a full chip erase.
However, the lock bits will not normally prevent the code from being read by the bootloader.