Custom when password expire

From keycloak 20.0.1 version
If the password expires after 90 days, is there a function to extend the password additionally in update password?
or not
Is it possible to redirect to another page instead of update password so that I can extend the password or change the password?