Hi,
this is a big topic
You have to learn Level Streaming, World Composition and Custom Gravity.
You can find these in the unreal documentation.
There are a few other questions about gravity in this answer hub.
You can find them easily by searching “unreal change gravity”
Sorry that my answer quite scantily
Cheers