The National Security Law is the main piece of legislation that is undermining freedom of speech and expression in Hong Kong, it is extremely broad, vague and used by mainland China supporting legislatives and law enforcement to silence dissent and criticism.
The Hong Kong stock exchange is a very successful stock exchange that routinely outperforms the Chinese stock markets, it is primarily tech based and is benefitting heavily from the AI boom