When I set up my pixel 3a I chose to set a pin to unlock the lock screen. I since changed my password in term and now cannot login with the pin.
The pin code should really be separate to the password.
Also, I was unable to use sudo apt install. Some warning about a partial list missing.