Get a flip cover and also keep phone charged and when accidentally shutdowned press volume button and plug charger that leads you to boot menu and the start the phone through that
open