The restrictions have come into force in Anxin county in Hebei province near the capital.
After the pandemic emerged in China at the end of last year, the country has managed to get new infections to a consistently low level.
To avoid a second wave, even small surges are taken very seriously by the country's health authorities.
Read MORE
BBC NEWS