You can lock cells in Excel by heading into the program's "Protection" tab. There, you can set a password, and protect your data.
To create data bars in Excel, select your cells and then choose data bars from Conditional Formatting.