You can prevent your iPhone or iPad from auto-locking while using Documents. It’s handy when you’re reading a PDF book for a long time without performing any actions on the screen.
How to prevent the iPhone from automatically sleeping:
How to prevent the iPad from automatically sleeping: