You will have to beat Rose in Rock,Paper, scissors. Her gallery in that game tell you what password her safe has for current game.
I see you are talking about a door. This is code only works for the safe in the university's empty room.