I manage a little under 100 public Macs at school. The Macs log in automatically in the student account with a kcpassword. After 5 minutes of inactivity the Macs display is turned off and after 50 minutes the Macs go to sleep.
The Maximum Auto-Lock is set to '0'. As long as the Mac doesn't go to sleep, no password is asked. However when the Mac goes to sleep, it will ask the Student to log in again.
Is there any way on macOS Ventura to automatically log in after sleep?