MIUI's Secure mode has the main function of preventing the installation of malicious applications containing viruses, Trojans, etc. To do this, it will block the installation of applications, leaving the system application store as the only installation path, in the China ROM it is GetApps.
This mode can be activated and deactivated whenever the user wishes.