First things first: Microsoft ARE NOT ending support for Windows - they are ending support for Windows XP, a very old though admittedly still very popular version of Windows.
Linux can be installed on any machine that will run any modern version of Windows. It's free.
HOWEVER, it will not run Windows programmes natively, so no Word or Excel etc. Luckily there are free alternatives for virtually everything you could ever want.
My advice would be to try it. If you don't like it, you can wipe the hard drive and put Windows back.