Terraform backend support custom endpoints?

Does terraform backend support custom endpoints? I’m trying to use a custom endpoint for dynamodb with a s3 bucket. Running init fails to obtain lock and the message references the AWS dynamodb backend and not the custom one I set in provider as shown in the docs.