Inferring a cause-effect relationship between lockdown restrictions and COVID-19 pandemic trend during the first wave