Have the LocalBackend lock the state during operations, and enble this for the apply comand.
Backends are a mechanism that allow abstracting the behavior of Terraform CLI from the actual core. This allows us to slip in special behavior such as state loading, remote operations, etc.