You can lock cells in Excel by heading into the program's "Protection" tab. There, you can set a password, and protect your data.
You can search in Excel with the Search Sheet bar, and use Find and Replace to swap out terms or values. Here's how to do it.