Lock screen when unplugging YubiKey

Please refer to here.