MacBook Pro 2019 13" If I don't use the laptop, it goes into sleep mode about 5-10 minutes. When I want to continue working I press any key and I am greeted with a login window, after which I find out that all applications are closed as if a reboot has occurred.
If I work on it and do not allow inactivity for more than 5-10-15 minutes, I do not know the exact duration, everything is OK.
Maybe I incorrectly set some operating system settings or the system restarts one of the applications, But how do I find out?