To use annotations, you need to first open the Share tray within the Teams meeting and select the screen/window to share.
On the screen being shared, the presenter should move the mouse to the top of the screen to bring up the toolbar. Then, click on the Start annotation (pen) icon. The presenter will have to option to select whether all attendees or only the presenter have the ability to annotate.