I'm developing an add-in using the Word JavaScript API, and I need the ability to work with protected Word documents programmatically. In VBA and VSTO, I was able to unprotect these documents, alter them, and then protect them again. Please implement the Document.Protect method (Word) | Microsoft Learn and Document.Unprotect method (Word) | Microsoft Learn methods in Word's JavaScript API so that I don't have to do this through VBA or VSTO. It looks like this was already done in Excel (see ExcelScript.WorksheetProtection interface - Office Scripts | Microsoft Learn).