Passcode locked out after failed attempts. How to detect and notify users?

Using the meeting SDK - users will sometimes enter the wrong passcode. This results in them being locked out with the message: “the passcode was incorrect. please try again zoom timeout”

Is there a way to know they are in a lockout ‘jail’? I would like to bring them back to the front screen and cancel trying and make them painfully wait for the timeout to expire.

Thoughts? Suggestions?