This issue is still not fixed in STM32 CubeProgrammer v2.10.0 (tested the 64-bit version).Quick fix is to change "Data_Base\STM32_Prog_DB_0x413.xml" manually. But for deployment within our company this is sub-optimal...
I can confirm the lock bytes can now be written in the OTP area of the STM32F407IG (0x413).Bugfix/change in STM32_Prog_DB_0x413.xml:<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x210"/>Regards,Peter