Added option to lock keyring