Disable Unenroll option for learners

How to block learners from self unenroll from a course… Would like to disable that option from learners.

Can anyone please help me disable this option for learners???

Can anyone help me achieve this.
I want to achieve something like this I want to hide that buttons for learners.
So learners cant self unenroll by themselves.

Something like this :