There is some dynamic feature for that, I think. If it didn't really go to sleep mode then it won't make you login again unless the dynamic lock feature is triggered. The screensaver settings are kind ...
Refresh your iPhone with 25 stunning palette lock screen wallpapers. Minimal, colorful designs optimized for dark mode, Dynamic Island, and iOS 26 glass effects.