Critics have said the law erodes the "one country, two systems" framework that promised Hong Kong freedoms not found in mainland China for 50 years.
Protesters have taken to the streets in Hong Kong to demonstrate , despite coronavirus social distancing restrictions still being in place.
Mr Johnson said the national security law would breach the treaty between China and the UK and would "dramatically erode" Hong Kong's autonomy.
If China chooses to go ahead with its changes for the island, the PM said he would effectively upgrade the status of British National (Overseas) passports, which 350,000 people in Hong Kong hold and 2.5 million are eligible to apply for, to grant immigration rights beyond the current six month limit.
He said: "If China imposes its national security law, the British Government will change our immigration rules and allow any holder of these passports from Hong Kong to come to the UK for a renewable period of 12 months and be given further immigration rights, including the right to work, which could place them on a route to citizenship.
"This would amount to one of the biggest changes in our visa system in British history."
Mr Johnson added: "Many people in Hong Kong fear their way of life, which China pledged to uphold, is under threat.
"If China proceeds to justify their fears, then Britain could not in good conscience shrug our shoulders and walk away; instead we will honour our obligations and provide an alternative."
Read more: China is not strong enough to pull off its bid for world dominance
Hashslingingslashar on June 3rd, 2020 at 03:09 UTC »
People are acting like all 3m people would go to the UK. No. It’d be a fraction of that. I assume most of those people would rather stay in HK because that’s their home.
popeycandysticks on June 3rd, 2020 at 01:28 UTC »
The metamorphosis of Brexit to Brelcome is truly a thing to behold
autotldr on June 3rd, 2020 at 01:01 UTC »
This is the best tl;dr I could make, original reduced by 64%. (I'm a bot)
Extended Summary | FAQ | Feedback | Top keywords: China#1 Hong#2 Kong#3 Raab#4 National#5