Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l4/STM32L476/DBGMCU/APB1_FZR2#0x0
APB Low Freeze Register 2
LPTIM2 counter stopped when core is halted
https://github.com/modm-io/cmsis-svd-stm32