After I got a new Windows 11 laptop, I noticed that when I close the lid, the computer can still charge USB devices and do other things. It's nice, as I don't think my old, pre-Windows 11 laptop could do that. However, when I open the laptop's lid, it will sometimes let me sign in without asking for a PIN, and other times it will require a PIN.
Why is this? Does Windows 11 (or at least my computer, anyway) have two sleep modes? Maybe one mode applies during a shorter period and the other during a longer period? What might be going on, and how might I predict each version?