Nigerian police freed more than 300 people, mostly children, being held in chains in a building in the northern city of Kaduna, a police spokesman said on Friday.