add Lock when write to csv