Locks for table commits