Have the M.2 drive as the only storage drive connected.
Go into the bios, under the boot tab there is an option for CSM, make sure it is disabled.
Click on secure boot option below and make sure it is set to other OS, not windows UEFI.
Click on key management and clear secure boot keys.
Insert a USB memory stick with a bootable UEFI USB drive with Windows 10 Setup* on it, USB3 is quicker but USB2 works also. A Windows DVD won’t work unless you’ve created your own UEFI Bootable DVD.
Press F10 to save, exit and reboot.
Windows 10 will now start installing to your NVME drive as it has its own NVME driver built in.
When the PC reboots hit F2 to go back into the BIOS, you will see under boot priority that windows boot manager...