No details given as to whether drive is SATA or PCIe. No OS listed.
The background here is 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.
Guide for installing Windows 10 on NVMe M.2 drive:
1- The M.2 drive has to be the only drive installed.
2 - Go into the bios, under the boot tab there is an option for CSM, make sure it is disabled.
3 - Click on secure boot option below and make sure it is set to other OS, not windows UEFI.
4 - Click on key management and clear secure boot keys.
5 - Insert a USB memory...