“When using Lastpass, a keylogger will show the owner of the keylogger your main password.”
Not an issue if you use LastPass with a Yubico YubiKey, which I do always.
Failing that, LastPass can generate One Time Passwords (OTP) which can used when operating a public machine.