This is what solved the freezing problem for me.
In the NVIDIA control panel, under Manage 3D settings, i set the power management to "prefer maximum performance".
Never had any freezing problem after that only one change.
I seen this recommendation on another forum.
I hope it can help you all !