After protecting the sheet through VBA, lock the VBA for editing.