I've been having a problem for about 3 months now: after a few hours with the screen locked, when I login I find all apps closed. Even the dock is closed.
If it is for an hour or less (I have not chronometered this) it does not happen.
I am using Hera, fully updated to the latest package.
Help is much appreciated.