Alarm on lock screen

I have poco x6 pro mobile. I have enabled “Display over other apps” option. During alarm time, phone wakes up but does not show up on the lock screen. To stop / snooze, I need to do this from notification bar after unlocking my phone. This is quite annoying.

In my poco x6 pro, I have enabled show on lock screen option in the other permission section.

After this, i am able to control my alarm from the lock screen.