If you cannot place your cursor in the index or table of contents, choose Tools - Options - Office Writer - Formatting Aids, and then select Enable cursor in the Protected Areas section.
You can also make changes directly to an index or table of contents. Right-click in the index or table of contents, choose Edit Index or Table of Contents, click Type tab, and then clear the Protected against manual changes check box.