Only to an extent that has been discussed by both of you. Snooping around and betraying your partner’s trust by accessing their phone when they are unaware, is a big no-no.