I tried to remove a villager's profession after trading some times with him, removing his respective workstation, but they doesn't lose the profession. This mechanic seems to work only for villagers that didn't traded anything.
Related issues
Attachments
Comments

[media][media]

Not only like that. They can`t lose job even you don`t trade.

Villagers not losing their profession if they have been traded with is intended and thus not a bug.