New lock table command

A new command, lock table, explicitly locks entire tables in either shared or exclusive mode.