Google Sheets formula protection does not require a password.
If you’re an Excel user, you might be interested in another article about locking Microsoft Office Excel formulas, but locking spreadsheet cells in Google Sheets is not performed the same way as it is done in Excel. Locking cells is an excellent way to protect your spreadsheet formulas from unauthorized changes, ensuring that nobody can edit its functions.