Architect of COVID-19 lockdowns resigns after flouting social distancing rules