About two million West Australians are now in lockdown following one case of community transmission of COVID-19 in Perth.