help making a security system...

i was just going through the manual on the website. i am a bit confused.
can i delete some program from the memory of the chip? and once i have uploaded the program do i have to lock the atmega chip using burn bootloader?