activeSheet.options.isProtected = true;
alert(activeSheet.options.isProtected);