TMDM-7640:Fixed the following:
1.Add sync workflow after workflow is restored from lock status.
2.Remove workflow read-only status when editor is closed.