In this fun intro level tutorial you’ll learn how to use the Level Blueprint to lights on and off. Then you’ll learn how to control a skylight so when it opens lights inside turn off!
https://dev.epicgames.com/community/learning/tutorials/jM8V/unreal-engine-toggle-lights-and-skylight-open-close-level-blueprint