Hong Kong has ordered thousands of residents to remain in their homes ahead of the city’s first Covid-19 lockdown, with China deploying 1,700 officers to enforce the restrictions in hopes of containing the outbreak.