appleID password is not pr. device it's global
so it can't want your old password If you forgot your Apple ID password - Apple Support
but if you mean passcode rather then appleID password Glemt adgangskode til en iPhone, iPad eller iPod touch, eller enheden er deaktiveret - Apple-support