Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wl/STM32WLE5_CM4/HSEM/HSEM_R2#0x0
HSEM register HSEM_R0 HSEM_R31
Semaphore ProcessID
Semaphore MASTERID
Lock indication
https://github.com/modm-io/cmsis-svd-stm32