You'll first need to make a Slave Collar at either the Smithy, Crafting Spot, Tailor Benches or Machining Table then in the Prisoner Tab, select the new option, "Enslave". After that your warden will fasten it to their neck, and presto! They're now a useful member of your slave-driving colony.