I'd suggest you use the Multi Factor Authentication module:
https://marketplace.mendix.com/link/component/116892
The Google Authenticator module mentioned in the other answer can be used as a authentication method.
Hi Yash,
the GitHub page describes how to use google authentication and implement it :https://github.com/RoelandSalij/GoogleAuthenticator