I am running Debian Trixie, and I installed mate-dock-applet with APT.
When I right click on an app in the applet, it does not show me any option to unpin an app.
I can pin apps by dragging-and-dropping the .desktop file.
This is what I see upon right clicking:
