Hi Luca,
The security is released once it has been verified that all the memory has been erased.
If only the first sector was erased, the MCU would still be secure since SEC = 11b = secure.
danielmartynek_0-1625642021308.png
danielmartynek_2-1625642239948.png
Regards,
Daniel