Locks a table to prevent multiple access to it.
procedure LockTable(LockType: TMSLockType);
This method locks the underlying dataset's table to prevent multiple users' access to it.
Table lock can be performed only within a transaction. If an application cannot update/lock a table because it has already been locked, it will wait until the lock is released. When the server lock timeout has expired, but lock is not acquired, an exception will be raised. Lock is released when the transaction is committed/rolled back.