File locking capabilities depend on the operating system HTBasic is running on. If the operating system does not support it, this command is ignored. AnASSIGN@PathTO* willUNLOCKand then close the file.
A file can have multiple locks on it. The file remains locked until a corresponding number ofUNLOCK statements have been executed.LOCKing a file should be a temporary action of short duration so that fair access to the file is provided to all users.
Under Windows, SHARE may need to be loaded in order to share, lock and unlock files.