Sounds like The Price of the Stars by Debra Doyle and James D. MacDonald.
Freebooter at heart, spacer by trade, Beka Rosselin-Metadi doesn't want to hear about how her father whose rugged generalship held back the Mageworlds -- or her highborn mother whose leadership has held the galaxy together since. Beka pilots spacecraft -- as far from her famous family as possible.Then Beka's mother is assassinated on the Senate floor, and her father offers her the title to Warhammer, prize ship from his own freebooting youth -- if she agrees to deliver the assassins to him "off the books."
Looking for assassins has a tendency to make assassins look for you. In doing so, Beka's arranged her own very public death and adopted a new identity; now all she has to do is leave a trail of kidnappings and corpses across five star systems, and blow the roof off the strongest private fortress in the galaxy.
It is the first book published of the Mageworlds series. The galaxy has its own “Force” called the currents of power, and the Adepts (your warlocks/sorcerers?) and Mages both use the power differently.