Chinese military could step in if uprising gets bad, Lam says