BEIJING—China is tightening the reins on popular programs that prepare students to study in the U.S. and elsewhere, in the latest sign that Beijing is worried about the spread of Western values in its education system.

The new environment is evident at Beijing No. 4 High School in central Beijing. Like hundreds of Chinese schools, it has an international curriculum for students who want to earn degrees abroad after graduation.

But...