More than two dozen people were arrested Friday while protesting the detention of an undocumented man who had been living in a Durham church for 11 months.