If iPhone user may I suggest Apple Configurator or Assistive Access to strictly limit the things you can do with your phone?
Not sure what solutions exist on Android but I'd be amazed if there are none.