support the function of 'lock table'