Windows Lock Screen Settings, To enable Dynamic lock, turn the toggle On.