How do I change graphics settings in lit mode?

In the engine? Quick Settings → Engine Scalability, and I believe lighting is considered Post Processing.

In a packaged game? You would need to run the console command sg.PostProcessQuality [0…3]