The USA Equivalent Situation...
... Is moderated by The Fifth Amendment to the US Constitution:
"No person shall be held to answer for a capital, or otherwise infamous crime, unless on a presentment or indictment of a Grand Jury, except in cases arising in the land or naval forces, or in the Militia, when in actual service in time of War or public danger; nor shall any person be subject for the same offense to be twice put in jeopardy of life or limb; nor shall be compelled in any criminal case to be a witness against himself, nor be deprived of life, liberty, or property, without due process of law; nor shall private property be taken for public use, without just compensation."
The relevant phrase is: "nor shall be compelled in any criminal case to be a witness against himself." This applies to providing access to anything that can be used as evidence against one's self in a crime.
There are a couple debates going on around this constitutional right versus the faerie dreams of intelligence collection agencies and police officials.
1) Can something you are, a physical aspect of a person, be legally used to obtain evidence against you? (Or something to that effect). - - The answer so far is YES. The common example is one's fingerprints. Yes, law enforcement can take your fingerprint and apply it to your computing device in order to unlock it. I expect this is going to remain the case.
2) Can something you know be legally used to obtain evidence against you? - - Faerie dreamers say 'yes'. Those of us who bother to take the US Constitution at its word know the answer to be NO. The common example is you providing the password for your computing device in order to unlock it. You do NOT have to.
A legal expert with whom I occasionally lock horns, and often lose, tells me that there are different situations, including those at national borders and within specific US states, where not providing your password can lead to legal complications. Therefore, I might want to defer to the knowledge of better legal scholars.
However, I comprehend The Fifth Amendment as plain as day stating the answer to be NO. Speech is testimony. "Anything you say can be used against you", as stated in the US Miranda Warning. So shut up and maintain your legal right to silence. Law enforcement can, in some cases, yank your chain about not giving up your password, not being compelled to give up evidence against yourself. But it is your right to remain SILENT. I expect that right will remain the case.