Change screens on the widget with cta

Hi, I am trying to see if there is a way to control the interaction flow inside the widget?

for instance, if a user locked themselves, as soon as the error occurs, change the widget screen to unlock flow?
If a user selects phone as MFA, trigger MFA flow but skip the button click to send the SMS and redirect the user to directly entry the MFA code that they will receive through SMS.
If a user changed the password correctly, instead of logging them in and receiving tokens, redirect to login flow and ask them to login with new password etc.