There were close to 40 deputies inside the store for a “Shop With a Cop” event