You can reset an iPhone, even without the password, by putting it into "recovery mode" or erasing it via iCloud's Find My ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible resultsResults that may be inaccessible to you are currently showing.
Hide inaccessible results