It looks like setting HKEY_CURRENT_USER > Control Panel > Desktop > ForegroundLockTimeout to 0 has solved the issue.