This is not an uncommon issue with Windows 11 users. You’re performing a Windows update and the system just gets stuck, maybe everything locks up and your system is non responsive. How frustrating this is.
The good news is that, generally, it can be rectified. It maybe due a number of issues such as incompatible apps, a faulty file system or disabled Windows services that may have been disabled.
This article from Windows Report might just solve the problem for you.