I have an htc10 that has been doing this for about a week. I too tried restart checking and adjusting lock screen settings. after reading all suggestions in the forum, I powered phone off completely for 10 or 15 minutes. When I powered back on, the screen resumed screen time out as set.