I ran into this when a machine was set to power save in an odd way. It would take some 5 minutes plus to boot and the power saving was set to 5 minutes. A checkbox was checked that read something like "show login screen on resume."

There are likely other scenarios like this.

Bob