You can just install Windows 10 LTSC IoT edition and you will have support up to 2032 year.

... but its better to learn #FreeBSD instead as #Linux rewrites itself too fast - so after you learn something - it will be useless several years later.
#FreeBSD #Linux