The syntax for LOCK TABLE in BNF is as follows:

Syntax

lock table statement ::=
LOCK TABLE table_name[ , table_name] , ... 
 IN { SHARE | EXCLUSIVE } MODE ;

For more information, see LOCK TABLE.