I have an X10DAX motherboard with an Intel PCIe Nvme and Samsung 850 SSD, hangs on boot with either code A2 or B4. When pressing F11, F12, or DEL while posting, system hangs indefinitely. Clearing CMOS didn't make any difference.
Post code A2 means your MB can't detect hard drive(s) with a valid partition and boot record.
Temporarily remove your hard drives and perform BIOS recovery.
After the BIOS recover, properly configure both Nvme (EFI) and SSD in the MB BIOS per your application.