BEIJING—For three years, Tim Millar worked with Chinese researchers and local nonprofits to improve legal protections for China’s disabled.

Then, the police came to his apartment one night in January, asking to see his passport, and the British citizen’s China career soon came to an end.

China is ratcheting up pressure on foreign nonprofit...