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 freeze columns in Excel with a few clicks, and then unfreeze them when you no longer need to view them statically.