The IApplicationObject::UnLock method releases a variable that was locked by the Lock method.
HRESULT UnLock(VOID);
Lock