Avoid Terraform state lock issues

Hello,
I am currently working on project where I am implementing terraform as our IaC tool and have few question.
I am managing my Envs in single repo with having Sep branch for each env. Now, I want to allow my teammates to work on Test branch at same time so wondering how I can avoid a terraform state issue so that all can run tf plan and apply anytime and can test their changes anytime on same branch.
Wonder if is there a way having single tf state and isolate al members while working at as same time to avoid any state lock issues ?
Thank You

Um, but the whole point of the lock is to prevent multiple people trying to modify the same environment at the same time, and thereby corrupting the state.

If that’s what you want, you need to give each person their own environment with its own state.