Wearing a mask properly and the right mask prevents transmission of Covid. So … yes.
No possibility of second order effects? Perhaps stricter mask regulations push people to take them less seriously? If people feel the mandates are too burdensome they may not adhere to them at all.