Locks table for the current connection.
procedure LockTable(LockType: TLockType);
Call the LockTable method to lock table for the current connection. The main purpose of this method is to speed up working with the table.
Table can be released on:
If a query has several tables then a table specified in TMyQuery.UpdatingTable is used.
Note: This method is uncompatible with the FetchAll property set to False.