You can use the Google Authenticator module on the app store and combine that with your home page microflow. There are multiple articles and questions on the forums talking about enabling 2FA such as:
https://forum.mendix.com/link/questions/101319
https://medium.com/mendix/multifactor-authentication-for-mendix-31ffd721e0
Good luck!