This command locks files or folders in the workspace. When an object is locked, no other users or workspaces can check in any changes or lock the file or folder. The object must be up-to-date to be locked. When a folder is locked, all files and folders within that folder are locked implicitly. If you try to lock a folder that contains a folder or folder that another user have locked (explicitly or implicitly), you cannot lock the folder. If you lock a folder that contains a folder or folder that you have locked in the same workspace, the explicit lock moves up to the selected folder, and the original lock becomes implicit. The Note:
If you are locking a folder and any file or folder within the folder, cannot be
locked, the folder is not locked, and no objects within the folder are locked.
You
can release the lock using the sws unlock command.
| |||||||||