How to enable the autologin on the serial console
Create an override:
sudo systemctl edit serial-getty@ttyS0.service
Insert
ExecStart=
ExecStart=-/sbin/agetty --autologin username --noclear %I $TERM
Save and exit
sudo systemctl daemon-reload
sudo systemctl restart serial-getty@ttyS0.service