For a used iPhone, ask the original owner to enter their credentials, sign out of iCloud, remove the Apple Account, and erase ...
Perhaps you recently changed your ... to unlock it. Be aware that using these methods will factory reset your phone, but ...