The fix is easy.
Settings
Select Device Care
Select Battery
Select APP power management
Turn off Put unused apps to sleep
This should let you widgets run, keep time and other apps you might have issues with.
This is on a Samsung S10 running 10 2.1 UI. So the exact instructions may not work...