hw_GetAndLock
return object record and lock object
Description
stringhw_getandlock
intconnection
intobjectID
Returns the object record for the object with ID
objectID.
It will also lock the object, so other users cannot access
it until it is unlocked.
See also hw_unlock,
and hw_getobject.