Concerns over teacher locking up student phones