Literally could have happened in Harry Potter. It actually drove me crazy. There were two separate times in the series that she made it abundantly clear that the average wizard doesn't even know what a gun is let alone how dangerous it can be.
I'm willing to bet Protego would stop a bullet but the average wizard wouldn't even try because they would just be laughing at the silly little muggle pointing a piece of metal at them.