Hello,
You might have to do an in-place repair upgrade, which fixes corrupt files while keeping your files. To do this, either download the Windows 11 ISO, (you can find it here) or use the Windows 11 Media Creation Tool. If you download the Windows 11 ISO, mount it, and then run setup.exe (if you see a UAC Propmt, push yes). If you downloaded the MCT, run it (if you get a UAC Prompt, push yes). Push "Upgrade this PC Now". Let the MCT install the Windows 11 installation files, and then let it check for updates, and then let it repair and install Windows 11. The steps to use the setup.exe on the ISO are the same, except you don't have to push "Upgrade this PC now". Once Windows 11 finishes repairing, you should be back at the lock screen, or the OOBE.
Let me know how this goes, and if you have questions, don't hesitate to let me know!