It happened in my environment too.
I did the following to prevent it.
Turn on "Auto start" of clock app setting.
Set battery saver in clock app settings to "No restrictions".
Turn off Battery & performance "Use Adaptive Battery".
Battery & performance - Set Scene - "Sleep mode" off.
I use...