Hello Hadzhiyska, Eleonora
Thanks for posting!
Currently, Graph API only supports protecting a worksheet of a workbook. Refer this WorksheetProtection:Protect
To unprotect a worksheet, refer WorksheetProtection: unprotect
Please follow below GitHub links to refer the open and closed issues:
- WorkSheetProtection:Protect Issues
- WorkSheetProtection:Unprotect Issues
Currently, protecting a range is not supported using Graph API.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.