Thanks !
I suppose you were stuck in the level right after you got the light. You cannot go past the ennemy if you don’t turn off the light first, it is supposed to demonstrate how the ennemy react to the light spell (they see you from further away with the lights on).