During the second case has During update package the screen turns off and this message:
The locker screen is broken and unlocking is Not possible anymore. In order to unlock switch to the virtual terminal log log in and execute the command: loginctl unlock-sessions (Ctrl + Alt + F2)
Afterwards switch back to the running sessions. (Ctrl + Alt + F7)
What is the reason and why, and does not respond to commands?