I recently got a new laptop [Dell XPS 13] and am using it with a dock [TB16]. As such, it is always connected to a power supply.
When I walk away from my desk, I always lock my laptop. When I come back, my laptop is invariably in sleep mode. I used "powercfg /sleepstudy" to see what's happening, which is where I get the "modern standby" term from. I timed the delay from locking to sleep to be about 30 seconds.
In principle I'm fine with it, my computer successfully resumes tasks after being awoken, however when running a long task (compiling a large program, running a long series of tests) I would prefer that I can walk away and my computer continues working instead of sleeping.
What I tried:
-Changing power settings (sleep after 30 minutes)
-Disabled "Save me power when my device knows I'm away"
Here's a screenshot of my power settings:
Does anyone know of a way to change the behavior to wait at least 30 minutes after locking?

Hibernation is set to 180 minutes (3 hours), so I doubt that it will kick in after 20 seconds. I did try locking my laptop without any periphials connected, but it still went to sleep ~30 seconds after locking.
– Erik Apr 10 '17 at 07:25This has the effect that the laptop goes to 'old-style standby' 30 seconds after locking. I'm looking to increase this delay to 30 minutes, so this did not help in the way I intended it.
– Erik Apr 10 '17 at 08:12powercfg /afrom an elevated command prompt? – Vomit IT - Chunky Mess Style Apr 10 '17 at 12:15I'll get back to you in a couple hours :)
– Erik Apr 10 '17 at 14:07The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state.
-- This to me does not appear to be very useful output, but I might be wrong.
– Erik Apr 10 '17 at 14:08powercfg /aprobably isn't much help in this case. – Vomit IT - Chunky Mess Style Apr 10 '17 at 15:29