There is lack of `lock_branch` argument from `github_branch_protection` resource. From Terraform registry - lock_branch - (Optional) Boolean, Setting this to true will make the branch read-only and preventing any pushes to it. Defaults to false