State file locking is a mechanism in terraform where operation on a specific state file is blocked to avoid conflicts between multiple users performing the same operation. Once the lock from one user is released, then only any other user can operate on that state file after taking a lock on it.
This helps in preventing any corruption of the state file. It is a backend operation, so the acquiring of lock on a state file in backend. If it takes more time than expected to acquire a lock on the state file, you will get a status message as an output.