Requires the bucket to have Object Lock enabled.
Legal holds and retention settings independently protect files from deletion.
Removing retention or a legal hold is protection-stripping (the step before a
delete), so those calls are routed through the destructive-operation gate.
Object Lock tools for the B2 Native API.