Dungeon lighting? Undiscovered area

Trying to find a way to keep certain areas unlit until discovered like a Dungeon game.

Any ideas?

Hello espr3ss0, thank you for posting.

Keeping secret levels secret can be executed in a variety of ways. If the lighting is the only concern, one of the quick implementation methods would be to use a rect light until the player unlocks the area. With the amount of settings a light can have, you may be able to create a solid black area of demarcation between areas.

Here is more information on rect lights in UE5.
The provided image below is a rect light with only a couple of settings adjusted.

I wish you the best in your level design.

Certainly one idea thanks. Any others?