I think this is in reality something with windows or ue4 (I have seen a similar bug, just not one that locks up while playing). You could try the following:

  • Use borderless window mode (not great solution, but if it works it may be better than random freezes)

  • Set the fps capped at 60