Here are a couple of links that will probably help you
https://forum.mendix.com/link/questions/1413
https://www.nolanramsey.com/theradreport/2016/4/18/how-to-add-custom-security-options-to-a-mendix-app-part-1
They cover some techniques and approaches you could use to expire a password for a user.
Hope this helps.