Try to set the Nvidia as the default graphics processor in both the Nvidia Control Panel and Windows Graphics settings in the Windows 10 2004 host.
This will prevent the Windows host OS trying to switch the graphics engine to Intel (or viceversa) when the VM is running with "3D Acceleration" on. That switching might be the cause of the freeze/hang that you experience and the subsequent crashing.