How to enable two factor authentication for all new users as a by default

I want to enable two factor integration for all my existing users in one go. and it should be enabled by default for all new users.
Is it possible from UI? Or we have to do it by coding? If Yes then how?