In a stark demonstration of the tightening grip on dissent, Hong Kongs High Court on Tuesday sentenced 45 pro-democracy activists to prison terms of up to 10 years under the controversial National Security Law imposed by Beijing.