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 use Microsoft Excel in dark mode to change elements of your spreadsheet to a darkened color palette.