What are your rights when police try to gain access to your cell phone?

Police have the right to take your fingerprints and mug shots and, therefore, most law enforcement agencies believe they are allowed to unlock your cell phone if your face is the password or if you use a fingerprint to unlock it.