If you have not enabled the option Unknown sources in the settings, you will get an error “Install blocked. For security, your phone is set to block the installation of applications not obtained from Play Store”. To solve this error, you need to go Settings -> Security -> Device Management -> Enable “Unknown Sources”.