Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32U599/DBGMCU/SR#0x0
DBGMCU status register
AP_PRESENT
AP_LOCKED
https://github.com/cmsis-svd/cmsis-svd-data