Sorry about that. Turning the switch on blocks the entity chasing you. The white ones are supposed to be delt with your flashlight. Dashing might help too!
I'll give it another try later tonight and see if I can get it, I think my issue was that if you use the flashlight while the other light is on, the entity can get under the light