If you're unable to edit a OneNote Class Notebook/Staff Notebook inside of Microsoft Teams, and the notebook is in a read-only state, make sure the notebook contains the default sections – "Welcome", "Collaboration Space", "Content Library." More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.