IoT LTSC is updated until 2032 https://learn.microsoft.com/en-us/lifecycle/products/windows...
I use it since 2021 on my gaming PC. Zero problems, it’s a trimmed down Win 10 with most of the bloatware removed
Win 11 has a similar trimmed down LTSC version
Just install it, MS doesn’t care about piracy