That's the point the article makes, you are _not_ legally required to hand over the password.
> Officers routinely ask travellers to provide their passcode or password to devices so they can be examined, but they do not have the power to compel passengers to hand over their passcodes,