Yes, lightning is extremely loud, and it makes a snap like a gun shot. The sound is so loud, it can damage a person's hearing. Also, if the window shade is open there will be a bright flash.
If the window itsel is open you will be soaking wet and have much bigger problems