Thats right. China gave Pakistan the missile technology with the intention to encircle and contain India in South Asia region. The Shaheen-1 (M11 with 300Kms. range) and Shaheen-2 (Modified M18 with 2000Kms. range) is specifically given to target all major Indian cities, but cannot threaten any of the major chinese cities. I don't think China will give Pakistan any further missile technology which can enable Pakistan to target any major Chinese city. Missiles with ranges of 3000Kms and above can target major Chinese cities in China's Western and central regions from Pakistan, which will not be acceptable to China.
India's BDM's under advanced stage of development are specifically designed to take down the missiles with the re-entry trajectory of M11 and M18 missiles. Once the AAD and PAD are inducted by India, it will effectively nullify China's strategy in South-Asia of using Pakistan as its proxy against India.