Thanks for reporting this issue, Illustrator team really appreciate this.
We are able to reproduce this issue in house and investigating it further.
An error occurred while saving the commentAlex Be commented
Based on what I'm seeing you can only delete locked anchors if the shape is a live shape or a normal un-grouped path. You cannot delete locked anchors in compound paths or groups. AI 2021. Any progress on fixing this issue?