Scene lit in editor but dark in build?

Is there a way to make the scene lit in the editor and dark in the play-mode or build?

there is the button to use scene lighting, it’s a lightbulb on the left side of the scene view header