Lockdown and deconfinement in the countryside