After I upgraded to Ubuntu 22.04.01 last week, I have occasional freeze-ups on refreshing from a locked screen. My lock-screen requires my password to complete the re-opening. The freeze-ups occur about every fourth time. To recover, I have to power the desktop off and then restart. Obviously, an annoyance that I never had in 20.04. Any suggestions?
Now, about a month later, with a belated thank-you to Mossroy for his workaround. However, something seems to have been fixed in the underlying software. I have not had any of the above-mentioned freeze-ups since October 6, with about a fifty flawless wake-ups after that. Someone among the Ubuntu update maintainers must have learned about the problem -- perhaps even from here -- and fixed it. There has been at least one, maybe several, system updates since that last freeze-up.
My first answer is not entirely correct, and it may have been unfair for me to put the blame on the Super-L keystroke. Letting the screen lock happen with the automatic delay, I find, now also leads to occasional freeze-ups. However, I have now discovered that I do not have to power-down-and-up to restart. If I have typed my log-in password completely, despite the frozen password-entry box, if I wait about 40 seconds, the screen goes black. After another lengthy wait, also probably less than a minute, the machine wakes up and displays my desktop! And nothing seems to have been lost in the process.
I am now pretty sure where the trouble was. I was in the habit of locking the screen with the Super-L keystroke, and that may where the freeze-ups come from. When I (finally!) opened up the Ubuntu Settings, I discovered (under Privacy > Screen) that the Automatic Screen Lock was not on. Turning it on and adjusting the delay time to 3 minutes, I was able to check, now about four or five times, that entering my password re-opened the desktop to where I was, with no freeze-up problem.
As a bonus for doing the screen lock automatically, I find that the screen immediately goes black. With the Super-L key it usually (but not always) displays a bright screen with the password-entry-box and the time. And sometimes it stays that way all night.