Switch to Win10 LTSC iOT if you want to keep getting security updates for many years

Bonus is it strips out all the crap and is super fast

Downside is a few specific pieces of software refuse to install (for no good technical reason). Adobe Photoshop for example

There is also win11 LTSC iOT which I believe might actually install on older hardware that normal win11 will not (don't quote me on this)