How To Distinguish Between Terraform Users In Container World?

Based on my tests, it seems that Terraform records who locked the state file with user@hostname. We are switching to running Terraform in containers. This means every person will show up as the same user. For example, if in our dockerfile we define the user myuser, then everyone who runs Terraform via the corresponding container will show up as myuser@containerhostname. If that’s the case we won’t know who has a lock on the statefile.

Is there a way to account for this?