Parameters
- locks
- A WorkbookLocks value indicates which data will be protected.
- password
- A string value that specifies a case-sensitive password for the worksheet or workbook.
Return Value
true
if the workbook is protected successful, false
otherwise.