Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L562/FLASH/SECHDPCR#0x0
FLASH secure HDP control register
HDP1_ACCDIS
HDP2_ACCDIS
https://github.com/cmsis-svd/cmsis-svd-data