### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

The bucket is created without object lock configuration

### Expected Behavior

The bucket is created with object lock configuration

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

Deploy stack:
```bash
awslocal cloudformation deploy --stack-name test --template-file test2.yaml

Waiting for changeset to be created..
Waiting for stack create/update to complete
Successfully created/updated stack - test

awslocal s3api list-buckets --no-cli-pager
{
    "Buckets": [
        {
            "Name": "test-bucket",
            "CreationDate": "2023-12-19T10:03:10+00:00"
        }
    ],
    "Owner": {
        "DisplayName": "webfile",
        "ID": "75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a"
    }
}
```

Check the Object Lock configuration:
```bash
awslocal s3api get-object-lock-configuration --bucket test-bucket

An error occurred (ObjectLockConfigurationNotFoundError) when calling the GetObjectLockConfiguration operation: Object Lock configuration does not exist for this bucket
```

Logs:
```bash
2023-12-19 16:43:20 
2023-12-19 16:43:20 LocalStack version: 3.0.3.dev
2023-12-19 16:43:20 LocalStack Docker container id: 20c4fda0118d
2023-12-19 16:43:20 LocalStack build date: 2023-12-05
2023-12-19 16:43:20 LocalStack build git hash: c1dcbc50
2023-12-19 16:43:20 
2023-12-19 16:43:21 2023-12-19T09:43:21.334  INFO --- [-functhread4] hypercorn.error            : Running on https://0.0.0.0:4566 (CTRL + C to quit)
2023-12-19 16:43:21 2023-12-19T09:43:21.334  INFO --- [-functhread4] hypercorn.error            : Running on https://0.0.0.0:4566 (CTRL + C to quit)
2023-12-19 16:43:21 Ready.
2023-12-19 17:02:52 2023-12-19T10:02:52.302  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS s3.ListBuckets => 200
2023-12-19 17:03:02 2023-12-19T10:03:02.452  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.ListStacks => 200
2023-12-19 17:03:09 2023-12-19T10:03:09.913  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.DescribeStacks => 400 (ValidationError)
2023-12-19 17:03:09 2023-12-19T10:03:09.928  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.CreateChangeSet => 200
2023-12-19 17:03:09 2023-12-19T10:03:09.937  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.DescribeChangeSet => 200
2023-12-19 17:03:09 2023-12-19T10:03:09.946  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.ExecuteChangeSet => 200
2023-12-19 17:03:09 2023-12-19T10:03:09.953  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.DescribeStacks => 200
2023-12-19 17:03:39 2023-12-19T10:03:39.969  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS cloudformation.DescribeStacks => 200
2023-12-19 17:03:51 2023-12-19T10:03:51.330  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS s3.ListBuckets => 200
2023-12-19 17:03:59 2023-12-19T10:03:59.264  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS s3.GetObjectLockConfiguration => 404 (ObjectLockConfigurationNotFoundError)
```

Template:
```yaml
AWSTemplateFormatVersion: "2010-09-09"

Resources:
  MyMediaBucket:
    Type: AWS::S3::Bucket
    Properties:
      BucketName: test-bucket
      ObjectLockEnabled: true
      ObjectLockConfiguration:
        ObjectLockEnabled: "Enabled"
        Rule:
          DefaultRetention:
            Mode: "GOVERNANCE"
            Days: 2
```



### Environment

```markdown
- OS: mac m1
- LocalStack: 3.0.3.dev
- localstack cli: 2.3.2
```


### Anything else?

_No response_
# rest
        acp["Owner"] = owner
        acp["Grants"][0]["Grantee"]["URI"] = "http://acs.amazonaws.com/groups/s3/FakeGroup"
        with pytest.raises(ClientError) as e:
            aws_client.s3.put__acl(Bucket=s3_bucket, Key=_key, AccessControlPolicy=acp)
        snapshot.match("put--acp-acl-4", e.value.response)
        # diff
        acp["Grants"][0]["Grantee"]["Type"] = "CanonicalUser"
        acp["Grants"][0]["Grantee"]["ID"] = "wrong-id"
        acp["Grants"][0]["Grantee"].pop("URI")
        with pytest.raises(ClientError) as e:
            aws_client.s3.put__acl(Bucket=s3_bucket, Key=_key, AccessControlPolicy=acp)
        snapshot.match("put--acp-acl-5", e.value.response)
        # diff
        acp["Grants"][0]["Grantee"]["Type"] = "BadType"
        with pytest.raises(ClientError) as e:
            aws_client.s3.put__acl(Bucket=s3_bucket, Key=_key, AccessControlPolicy=acp)
        snapshot.match("put--acp-acl-6", e.value.response)
        # test 
        with pytest.raises(ClientError) as e:
            aws_client.s3.put__acl(Bucket=s3_bucket, Key=_key, AccessControlPolicy={})
        snapshot.match("put--empty-acp", e.value.response)
        # test 
        with pytest.raises(ClientError) as e:
            aws_client.s3.put__acl(Bucket=s3_bucket, Key=_key)
        snapshot.match("put--acl-empty", e.value.response)
        # test 
        with pytest.raises(ClientError) as e:
            aws_client.s3.put__acl(
                Bucket=s3_bucket,