1. HashiCorp Terraform Documentation, "State: Locking": "State locking happens automatically on all operations that could write state. ... If state locking fails, Terraform will not continue. ... This prevents others from acquiring the lock and potentially corrupting your state." This reference supports why apply and destroy (write operations) are forbidden.
2. HashiCorp Terraform Documentation, "Command: state": "Most state subcommands that access the state require the state to be locked. This is to prevent conflicts if multiple people are accessing the state at the same time." This reference supports why terraform state list is forbidden.
3. HashiCorp Terraform Documentation, "Command: apply": "The terraform apply command executes the actions proposed in a Terraform plan to create, update, or destroy infrastructure." This confirms it is a state-modifying operation.
4. HashiCorp Terraform Documentation, "Command: fmt": "The terraform fmt command is used to rewrite Terraform configuration files to a canonical format and style." This confirms the command does not interact with the state file.