Please try turning off auto-lock, i.e. turn off the sleep mode:

 

  1. Launch Settings from the Home screen.
  2. Tap on Display & Brightness.
  3. Tap on Auto Lock
  4. Tap on the timing you prefer.