BRATTLEBORO — A judge ordered psychiatric examinations for a 21-year-old student at the Austine School for the Deaf who allegedly locked a school supervisor in a room and then tried to choke her to death.

Timothy Carroll of Mashpee, Mass., pleaded innocent Friday to charges of kidnapping and aggravated assault on Patricia Hodgdon, 43, a supervisor at the Brattleboro school, Thursday morning. Hodgdon told police she thought she was going to die.

According to court records, Hodgdon told police that Carroll was angry “because of the sun shining on him.”

Hodgdon told Brattleboro police that Carroll came to her office, and when she moved a form on her desk that had another student’s name on it, he became “irate.”

Carroll, who has a hearing disability and also suffers from bipolar disorder according to court records, locked the office door from the inside and then approached her in a threatening manner and grabbed the arms off her chair and threw them at her.

She told police she hid behind a table, and Carroll threw another chair at her and she fell backwards.

Hodgdon told police she tried to get to the door to unlock it, but Carroll came up behind her, punching her in the back of her head, striking her cochlear implant sound processors, causing her pain.

When he blocked her from unlocking the door, he grabbed her by the throat and grabbed her windpipe, court records stated.

“Hodgdon thought Carroll was going to rip it out. Hodgdon said that it became hard for her to breathe as Carroll was squeezing her throat. Hodgdon said that she thought she was going to die,” police wrote.

Hodgdon told police she didn’t know how she finally got the door unlocked, and Carroll was restrained by a co-worker.

“Hodgdon said that emotionally her pain level was a 10 on a scale of 1 to 10,” wrote Officer William E. Davies Jr., adding that Hodgdon had visible red marks on her throat when he arrived at the school.

According to court records, Judge David Suntag granted a request by Carroll’s court-appointed lawyer, public defender Mimi Brill, that Carroll be assessed for sanity and competency.

Carroll was screened by a worker from Health Care and Rehabilitation Services for the court, and she recommended the evaluation.

The evaluation will take place at the Brattleboro Retreat, and for the time being Carroll was ordered held without bail.

Carroll’s arraignment was delayed as court personnel tried to find a deaf interpreter to work with Carroll during his arraignment. Two interpreters were finally located Friday afternoon.

If convicted, Carroll faces a potential of life in prison for the kidnapping charge, or 15 years on the aggravated assault count.