For most manufacturers, and especially ASUS be sure your RAM modules are on the Qualified Vendor List - and I mean the exact model and configuration. ASUS has different QVL RAM lists for each compatible processor family for each motherboard. I’ve built and sold many hundreds of ASUS systems over a couple decades and, while earlier on this was much less of an issue, it has become of paramount importance for stability. It’s one of the reasons I started using Gigabyte, MSI, and ASRock in recent years, though I still stick to the QVL for RAM with all motherboards.
I have had a similar problem, the ram/mainboard combo seemed to be the problem, and what fixed it was to change memory speed from auto to their advertised speed. The system has been stable since.
How often did you have it freeze?
The last time I had it happened, the system didn’t have a hard lock, meaning if I waited for 10 minutes things would respond, but then would have stop responding again
I second this. Make sure the XMP profile is selected in the UEFI instead of just auto. XMP ram profiles are thoroughly stress tested for stability under the harshest scenarios for your specific ram.