ODAC
Verifies if an object instance is marked as locked.
TOraObject
function IsLocked: boolean;
Call the IsLocked method to verify whether the object instance is marked as locked.
The return value is True if the instance is locked.