Description ​
The LockCount property returns the current number of active Lock calls made by the owning thread.
Returns the current nesting level of thread locks.
property LockCount: Integer read FLockCount;The LockCount property returns the current number of active Lock calls made by the owning thread.