Hello,
At the raw, chip and BDM command level (ignoring what programming software may do automagically) this is what you need to do. (for S08)
Mass erase the device (cmd 41)
Blank check the device (cmd 05)
whenever a blank check is successful this sets the bits in FOPT to 1:0.
Now you have full access until you reset.
If you want full access to continue after a reset programme NVOPT to 1:0.
The only other possibility is backdoor access if that had previously been setup.