The impact of a COVID-19 lockdown on work productivity under good and poor compliance