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

Compiling shaders may be a hard task for the CPU. I would check temperatures, and you could try downclocking your CPU. It could be related too with a problem with the RAM.