If, on the other hand, you're talking about continuing to use this script to read user input and writing it out to the CSV file, then you can simply refuse to update certain column positions if you want them locked.