What is the reason and/or fix for UE5 (5.03 & 5.1) freezing my whole pc?

My friend has the same problem, he uses a 4090 too. Is it some driver incompatibility or some technology used in the 4090?
Sometimes it happens while I’m playing too, I can’t finish the story mode of KOF XV, the same problem happens, but in other games everything seems to be normal.