Add a boolean locked column to the survey table that if true will prevent any corrections being performed on survey data as well as prevent that survey from being deleted.
Set the value of this column to correspond to the output of @bpasquer's query from the backlog issue.
For locked surveys hide the select checkbox in the Survey List to prevent the survey from being added to a corrections job
Also display the message "Survey data are locked" on the Survey Metadata Edit page
locked
column to thesurvey
table that if true will prevent any corrections being performed on survey data as well as prevent that survey from being deleted.