ODAC
Used to lock the current record.
TCustomDAUpdateSQL
property LockSQL: TStrings;
Use the LockSQL property to lock the current record. Statements can be parameterized queries with parameter names corresponding to the dataset field names.