Open Settings › General › Startup & Navigation and review the startup options. Choose the workspace behaviour you prefer, then check it on the next launch.

A startup preference does not keep the Mac awake or guarantee scheduled work while the app is closed.