My roommates iphone is locked?

Ok so she can't remember the password and i'm trying to back it up on itunes on my laptop but its not working because itunes is not letting me and it keeps saying to try to put the password in again but we can't remember.

Sadly the only thing to do is restore it which should be fine if she backed it up i've forgotten the password many times that's why i got an android so i can use the pattern or face unlock