How to enable module in Magento 2
To enable module in Magento you can use following command
$ php bin/magento module:enable <your_module_name>
For Example –
$ php bin/magento module:enable Magento_TwoFactorAuth
You can see following screen

Then run following commands to update the database & clear the cache
$ php bin/magento cache:flush && php bin/magento setup:upgradeAnd you have successfully enabled the module. 😉