Screen not restarting after being locked for hours

This sounds like the issue in this topic - likely your monitor is seen as "unplugged" when it's turned off and causes a glitch in MATE Screensaver, which is responsible for presenting the lock screen.

The bug has been fixed, but unfortunately the fix hasn't been applied to 18.04 due to SRU approval issues.

Try updating the packages manually and see if this fixes your issue: