This policy controls if the login dialog pops up immediately if an account needs to be re-authenticated.
If the policy is enabled, the login dialog is shown. If the policy is disabled, only an error is indicated in the tray and explorer.
manually by adding the key in the registry under machine or user registry settings
via GPO, check settings via GPO
pushing policies via Intune, see setting for Intune Managed Devices
Policies stored in: