I still haven't gotten the hang of these brute force row generation solutions. Haven't seen anyone do it quite the way I did, but I didn't check all 11 pages of solutions.
When I tried to solve this, and it was getting to late.
So the logic to handle the overlap of the lights and people entering the room, was to tricky at that point.
But after a good nights sleep, I did nailed it, so here is my solution
I think I am getting better at this, since I did manage to solve this without peeking. I was close of doing that sometimes, but I kept myself for doing it, and in the end. I did manage to do it on my own,