Melee mage/warlock, how would this work?

True I guess. At any case they could also name the class spellbreaker too, but that would feel limiting. They can also use the DnD class name Magus too which is from 5e.