Document functions

More:

Resubmitting documents

Locking documents

Freezing documents