Terraform for azure AKS cluster creating

I am new to Terraform need to create an AKS cluster with the help of terraform. can anyone please help out with resources that we need to create with help of terraform and how to achieve backend state and state locking .