help making a security system...

You can only have 1 program on the chip at a time. Uploading a new one overwrites the old one.

No need to lock or burn anything.