Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G473xx/FLASH/OPTKEYR#0x0
Option byte key register
Option byte key
https://github.com/cmsis-svd/cmsis-svd-data