DGX Spark freezes after few minutes

I don’t know if I can describe the problem in detail, but I’ll try. When I turn on my computer, I have a very limited time to log in, meaning enter my account password. Then the desktop loads, along with the image I set as my screensaver, and that’s it. Neither the mouse nor the keyboard show any sign of life. The mouse freezes in one position, making it impossible to open applications or check running processes. If I hesitate and don’t immediately click on the profile to enter the password using the keyboard, the mouse and keyboard also stop working, meaning the system seems to be overloaded with some processes that launch automatically.