Covid-19: Lockdowns and masks helped reduce transmission