How do I change the amount of time before my device screen goes in sleep mode?

Go to Settings. Go to Display. Tap the sleep button, from there you will be able to choose the timeout period between 15 seconds and 30 minutes.