UNREAL ENGINE FREEZES WHEN I GO TO EXPORT/BAKE ANIMATION

This is not an unreal engine problem
I think your system hardware graphic card, drivers etc.,
what is your system configuration?
If your hardware requirements reach for unreal engine,
Try updating graphic drivers and reset