How to keep closed the folders in world outliner?

The folder state should be saved with the map data, so it remembers the state you left them in. Some folders are settings and world setup you rarely access. – Or at least change the default to always start closed.

The pro tip from ZlotyGames of shift-clicking, then clicking the world root on the top helps a bit to “reset”.