lock keychain mac 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"