Hong Kong was nearly[1] granted effectively autonomous status by Britain in the 1960s. China threatened a military intervention should that happen.
1. https://qz.com/279013/the-secret-history-of-hong-kongs-still...
This QZ article is repeating a fairly disingenuous interpretation of the documents to suggest some missed opportunity for democratic reforms. The original narrative was put forth by VJMedia which bias towards HK local-ism (pro-independence). There was never any effort in the 60s up until years before handover to grant subjects of HK liberties or self-governance within the context of Extension of Hong Kong Territory lease.
Also did Britain do enough to protect and to take back HK during WW2.
If I remember correctly, HK was only given back to Britain after the final surrender of Japan in WW2. Japan had taken HK following the attack on the same day as Pearl Harbour attack.
That said, British rule of HK, despite the UK having fairly authoritarian levels of power, was fairly restraint. I don’t recall many HK people feeling bitter towards the UK during that time I lived there — just prior to the handover.