1. S3 Object Lock & Glacier Vault Lock (WORM Compliance)

Two lock mechanisms

Mechanism Behavior
Retention Period Object is locked for a specific duration you set
Legal Hold Object is locked indefinitely until someone with permission explicitly removes the legal hold — no fixed expiry

Retention modes

Mode Who can remove the lock/change settings early?
Governance Mode Only designated "super users" / specific privileged users (via special IAM permissions) can override/remove the lock — provides a controlled workaround
Compliance Mode Nobody can remove or shorten the lock before it expires — not even the root/account owner

Glacier Vault Lock