Refactor Document Unlocking

Mobile locked documents will be released on processing, not on import as before.