eded to release the lock).
Locking the object doesn't prevent other threads from accessing the object - 
it only has influence on <code>sharedLock</code> and <code>exclusiveLock</code> methods.
So programmer should set proper lock before accessing the object in multithreaded application. 
<DL>
<DT><B>Parameters</B>
<DD><code>obj</code> - locked object
<DD><code>nowait</code> - optional parameter specifying whether request should
wait until lock is available or fail if lock can not be granted immediately.
<D