Fighting COVID-19 through smart lockdown