Yes, but only if you use the mask properly and don’t touch it with your hands afterward.

Those droplets from a cough or sneeze would hit your mask instead of your mouth and nose which is good news, but the next step is to take the mask off by the ear bands and wash it without touching the front of it.