Is an the iPhone app that I can use to lock myself out of my phone for an amount of time?

I need an app that I can use to lock myself out of my phone to stop distractions while I'm studying. Something like the SelfControl app for the iMac but for an iPhone.

Its called just shut it off and stop making excuses for why you need an app for that.