With Sims 4, the screen is all the time, only the music can be heard, but I can't close it anymore and I can't restart my laptop somehow
Close it via the Task Manager. When the laptop stops working, hold down the power button until it turns off.
Try Alt + F4. This is usually associated with games. Or use Ctrl + alt + delete to open the task manager and close it there
Ctrl + Alt + Delete
… Then just go to log out, all new data not stored will be lost.
Ctrl + Alt + Delete
Alt + F4
Press and hold the button for a long time.
Or so.
It's not all that good to do it that way, but once it's not.