When working on content, we have to tell all our clients to please only have one person working on a document at the same time. Because what happens a lot is that people will save on the same document at different times causing data loss from the previous editor.
As an alternative to creating some locking mechanism, we could show if someone is actively working on the project at the same time (using sockets). That way people are more conscious about making edits.