Can I lock a document in TeamForge?

Absolutely, yes. You can specify a document as locked at any point in time (document create, document edit, etc). You can do this via the normal UI or via the SOAP API. Simply check the Lock document box while in Edit Document.