What kind of door machine do you have? Mechanical Otis 9550? Or a another model?
Where in the shaft does the lift stop, when it traps people? Close to the door zone?

Get the error log out of the control board and post the faults here...(LCB-II PCB M1-2-1 Error log)

/Alex