2 hours is generally adequate provided CA's HKG-PEK flight is not terribly late. Last time I spent 45 minutes in line to clear immigration at PEK. Only one officer on duty and she was slow. CA provide free shuttle to J pax from the CA lounge to the departure gate.