Taking intimate photos of yourself and leaving it on your phone isn't too smart but besides that before you take your phone anywhere just do a reset. That will delete everything and put the phone on default.
How could you forget that you had thousands of photos on your phone and turn over your password too? I mean if he was changing the screen then that is a hardware issue why does he need her password.
Why people store that kind of thing on their phone I don't know. I can't believe you will be so silly to save 1000s of naughty photos on one device that could be easily lost or stolen.