The following behavior occurs:
- Changes the Cart State from `Active` to `Frozen`.
- Sets the corresponding [FreezeStrategy](ctp:api:type:FreezeStrategy) on the Cart's `freezeStrategy` field.
- Produces the [CartFrozen](ctp:api:type:CartFrozenMessage) Message.
If the Cart is empty, an [InvalidOperation](ctp:api:type:InvalidOperationError) error is returned.
Freezes the Cart based on the provided FreezeStrategy.