Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question seems more related to Teams API development, which is not in our support scope. Thanks for your understanding and patience!
I also did a research for this topic but it seems there is no official document talking about you how to lock the Teams meeting via API. The following table lists the properties that can be updated. You could find it from here:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.