Accused hanged himself in lockup