lock keychain mac keychain code example
Example: keychain locked macos
security unlock-keychain -p "<$PASSWORD>" "$HOME/Library/Keychains/login.keychain"
security unlock-keychain -p "<$PASSWORD>" "$HOME/Library/Keychains/login.keychain"