So how can I lock the table while exporting?