Likely, you need to disable a service that is tracking your phone's location for security purposes, like Android Device Manager or Find My Phone. It is keeping your phone idle awake to track its status and location.
You would find this service under Settings > Security > Phone Administrators