Unlock screen from command line
Go to TTY and run the command:
sleep 5; xdotool type <yourpassword>; xdotool key Return
and then go back to the login screen and click in the password box. Wait ~5 secs and your password will be typed and enter will have been pressed.
My pronouns are He / Him