The Independent Office for Police Conduct (IOPC) said 24 people died while being held by police or afterwards in 2023/24, of whom 19 had mental health problems.