IApplicationObject::Lock

This method prevents other clients from accessing the variables stored in the Application Object until the Unlock method is called. For more information see the Lock method of the Application Object.

HRESULT Lock(VOID);