Also in other jurisdictions people have the right to not incriminate themselves by refusing to answer questions.
If I am allowed to refuse giving my pin code for unlocking the phone, it would be interesting whether the police is allowed to use your fingerprint to unlock your phone.
Might explain why in Germany as of lately you have your fingerprints taken when getting your personal ID (Personalausweis).