Hello,
Could you help us describe the commands and process you use to protect the memory sector?
Are you referring to the commands in Chapter 10.3.5.2 Table 10-4 or the Flash commands in Chapter 10.3.9.1 Table 10-10?
Have you set the FPROT register to protect the region in flash memory?
Chapter 10.3.8.2 describe the method to unsecure the MCU by erasing the flash memory if that could help you to unsecure the sector.
Best Regards, Luis