I seem to have kind of the opposite problem as the one described in this question.
I am running foobar2000 (1.3.9) on my Windows 10 convertible laptop. When the screen turns off, either because the system was idle for a while, or because I press the lock button of the device, playback is automatically paused. It resumes as soon as I turn the screen back on (even when I'm still on the lockscreen).
Is there a way to have payback continue even when the device is locked?