The 10 given jail terms were part of a group of 12 caught trying to escape to Taiwan in August, after Beijing imposed its sweeping naitonal security law on Hong Kong.