This is probably due to a January 26 Windows update - KB5073455. The article below has more information and a work around. MS has not offered a fix yet.
The latest Windows 11 update is causing PCs to refuse to shut down
https://www.howtogeek.com/the-latest-windows-11-update-is-causing-pcs-to-refuse-to-shut-down/