I've recently managed to lock myself out from my own server. My ssh key worked, but I couldn't sudo to administer the server.
It happened after changing my expired password, I tried to sudo with my old one and tallied out after 5 attempts. I couldn't unlock it even after the timeout has long…