I have a Windows 10 laptop, running OS version 1607 and with all latest updates installed. I routinely use the mobile hotspot feature to share the Ethernet connection with WI-FI devices, and I find that quite often the function just turns off on its own after a while.
I have disabled automatic standby and/or hibernation, both when running on battery and when running on mains power; BTW, this is an office setting: the computer is always connected both to power and Ethernet.
The issue seems to be related to screen timeout; the mobile hostspot feature doesn't turn off if I manually lock the screen (Windows-L), but it does when the screen turns off due to timeout (regardless of whether it's already locked or not). This seems also to be a common issue on Windows 10 phones, where the exact same thing happens when the phone screen auto-locks.
Why does this happen, and how can I fix it (other than always leaving the screen turned on, which is something I'd like to avoid)?