I'm working on a project that uses a Cortex M4 microcontroller (MK64FN1M0VLL12) and I would like to learn more on how to protect the device from unlawful access. Mainly I want to protect my code from being accessed and copied? Is that possible? I know there is flash protection and FPROT but it look like it is more to protect the device from accidentally overwriting or erasing? Am I correct? So is there any other way to protect the flash from being read or accessed? Any help or suggestions is greatly appreciated.