This method gains access to the resource controlled by the synchronization object.
virtual BOOL Lock( DWORD dwTimeout = INFINITE );