The lockdown is aimed at tamping down a surge in Covid-19 infections and preventing hospitals from being overwhelmed with cases.