Welcome!
Yes, locked or not, it will sleep anytime it's not charging, running cabin overheat, running Sentry, or doing some brief activity like topping off the 12V battery, communicating with the internet, post-drive cooling or dehumidifying, etc. But sleep is just a low-power state, not a...