Windows actually makes it really easy to install on a new PC. All you need is a copy of Windows on a DVD or a USB. You want to go to your BIOS settings to make sure it boots from the USB or DVD, and windows will do the rest.
Every motherboard brand has a different BIOS. A BIOS is simply like a control panel for a motherboard. It can be tricky to navigate sometimes, but all the name-brand motherboards have good tutorials. You only have to change one thing to make sure it boots from a USB or DVD.
There’s a couple of tutorials on the resources page which show you how to download Windows 10, even without a key (never tried it personally). Microsoft also has a simple tool that will help you make a bootable USB.