Automatically trying to install/replace Appium settings apk and Unlock apk on my Android device

Confirmation popups to install/replace apks is displaying in my android device every time running the script.
So, i am clicking cancel two times, one for appium settings and one for Unlock apk.
How can i disable these apps and run the scripts smoothly without manual interaction?
Any help would really be appreciated…

Disable verify apps over USB in “developer options”.