lock in tables to prevent mistakes