Quarantines are seldom effective in the long term. This buys the Chinese government some time.
Whether other measures they take will bring it under control remains to be seen.
IIRC there were three U.S. towns that had a total quarantine prohibiting anyone from entering during the 1918 flu pandemic. No one caught the flu. Only practical on a small scale.