SelfControl is a great app on Mac, once you started it, there's nothing you can do to stop it, whether you deleted the app or restart the computer.
SelfControl is a free and open-source application for Mac OS X (10.5 or above) that lets you block your own access to distracting websites, your mail servers, or anything else on the Internet. Just set a period of time to block for, add sites to your blacklist, and click "Start." Until that timer expires, you will be unable to access those sites--even if you restart your computer or delete the application.
Is there any SelfControl like app on Android?
Maybe the *"Especially this app would also work even if you delete the app or restart the smartphone."*restriction is too much, so I reduce those restrictions.