Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32f4/STM32F427/FLASH/OPTCR1#0x0
Flash option control register 1
Not write protect
https://github.com/modm-io/cmsis-svd-stm32