The lock register is used to unlock access to the AXI Debug register access registers DBG_CTRL and DBG_DATA by writing the magic value 0xEBAB. Writing any other value locks access. This is a write only register. Bit assignment in the register is shown in the following table. The register is only implemented if C_DBG_REG_ACCESS is set to 1.
For details on how to use the Debug Register Access, see Debug Register Access Sequence.