Masks will slow the spread of all respiratory viruses and can also be used to reduce the incidence of flu and in fact are widely used in Japan and other Asian countries. Here is also an explanation of where they work.
https://www.healthline.com/health/cold-flu/mask#guidelines