The NVMe M.2 drive should be the only storage drive connected.
NVMe SSDs do not appear within the BIOS until Windows creates the system partition with the EFI Boot Sector. Your M.2 SSD contains UEFI driver information within the firmware. By disabling the CSM module Windows will read and utilize the M.2-specific UEFI driver
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 now lists your NVME drive.
Click on secure boot again but now set it to WIndows UEFI mode.
Click on key management and install default secure boot keys
Press F10 to save and exit and windows will finish the install. Once you have Windows up and running, shutdown the PC and reconnect your other SATA drives.
*How to create a bootable UEFI USB drive with Windows 10 Setup
https://winaero.com/blog/how-to-create-a-bootable-uefi-usb-drive-with-windows-10-setup/
The Windows 10 ISO link is broken in the above. You can obtain the ISO file here:
https://www.microsoft.com/en-us/software-download/windows10