From Google
The solution that I got to work is as follows:
Disable CSM / UEFI
Enable Secure Boot
Now the installer can access the NVME SSD
Format the drive
Restart the machine
Enable CSM / UEFI
Disable Secure Boot
Proceed to installer and now Windows will allow you to install to the NVME SSD drive