Convictions came under the draconian national security law that Beijing imposed on Hong Kong in 2020 following huge pro-democracy protests.