Open you realm, Select Users and create a new User
For 2 Factor Authentication : e.g. Select Configure OTP and Update Password
Save the user, select Credentials and create a temporary password
The next time the User logs in, he will need to setup OTP and a new password