Deputies: Mom surprises home invaders with gun