S3 for remote state and RDS for state lockning

Hi,

I wanted to have remote state with S3 bucket in AWS but state locking using the rds or Postgresql. Is it Possible? Generally I see S3 backend with Dynamo DB used for state locking.