Wizards and Sorcerers can easily depend on them selves to create magic, whether it is by research or by instinct. A Warlock is granted their magic by a higher electricity, generally known as their "patron." ordinarily, https://crithitceramics.com/mastering-ability-scores-for-your-sorcerer-in-dnd/