Hello,
Your PC is telling you that it's out of service as Windows 11 22H2 went out of service in 2024.
However, you can upgrade to the latest version (Windows 11 25H2) in just a few steps.
If you haven't already, check for new updates and see if Windows 11, version 25H2 (or 24H2) is offered; if it is, download and install it, if it isn't, continue to the next step.
You will need to exit Windows 11 S Mode as you won't be able to run EXE files (which this method needs).
To do that, go to Settings > System > Activation and scroll down to where you see S Mode. Select the down arrow and then click "Go to Store". This will open up a Microsoft Store window where you can switch to Windows 11 Home (normal edition). Please note that this is a one way thing and once you exit S Mode, you will be unable to switch back.
After your computer is out of S Mode, you can use the Windows 11 Installation Assistant or the Windows 11 ISO. Both these options will get you to Windows 11, version 25H2. To use the Windows 11 Installation Assistant, download the Windows 11 Installation Assistant and then run it. You should see some prompts telling you about Windows 11 and what it'll install. Let it download and install 25H2.
To use the Windows 11 ISO, download the Windows 11 ISO, (you can find it here, scroll down to where you see ISO for Windows 11 x64 devices), mount it, and then run setup.exe (if you see a UAC prompt, push yes). Follow the prompts on-screen and then let setup.exe update and install 25H2.
Both of these will take a while to install. It's best to do this at night when you're not doing anything important. Just make sure to save your files before you start. If you have a laptop, make sure it's plugged in so the battery doesn't die during the upgrade process.
Please also note that the 25H2 ISO is a large download (over 5GB) and will take quite a bit of time to download, especially on a slow network.
Hope this helps, and if you have any questions, don't hesitate to let me know!