If you're having trouble getting into your iPhone, you'll need your old passcode or Apple Account password.
Phone Unavailable or Security Lockout? Learn how to use your old passcode within 72 hours, erase the device or restore it ...