AIUI, a boot loader resides in some undocumented area of FLASH, and when the boot pins are suitably set up when /reset is de-asserted, the CPU jumps to that code.
If protection is enabled, fairly obviously the boot load stuff should be disabled otherwise anybody can boot load some short program which reads the main FLASH and sends the bytes out of a UART.