Releases the lock, making it available for the next agent requesting it.
CodeUnlock ( lockID )
CodeUnLock returns TRUE if the lock was successfully released.
Releases the lock specified by ID. Bear in mind that CodeLock and CodeUnLock should always be done in pairs; failure to adhere to this practice will lead to unexpected results.