SCOTUS has not yet decided that a password in your brain is protected by the fifth.
Your phone is protected by the fifth.
Until SCOTUS decides that passwords are protected by the fifth, you can be held in contempt of court by a judge indefinitely because you forgot the password (theoretical scenario, has not yet happened).