Administrators can set a block policy on users to stop them deleting Planner tasks that they didn’t create. The feature isn’t well known, but might be useful in situations where plan owners want tight control over task deletion. Unfortunately, the implementation isn’t well finished and client user experiences are not what you’d like.
https://office365itpros.com/2022/02/07/planner-delete-policy/