I didn't say that they were, I said it was something to consider. The cells could have been locked manually at some point, there was no indication either way in your post.
Maybe there was a stray space at the beginning / end of the name. That is enough to make the code think that the sheet doesn't exist.