How do i release them from being imprisioned so they can work for me?
you need high reputation with them, if your reputation is not enough you can rather release them on surface or they will ask for a fee to work on you