I bet you have power saving mode turned on. This is a really annoying "feature" with power saving mode.
Turn off power saving mode to increase your timeout. Rumor has it that Smart Lock will possibly extend the timeout but I haven't tried that.
This has been a bug, I mean feature, since the...