A shooting at a senior housing complex in Rhode Island late Thursday morning left two people dead -- including the gunman -- and two others injured, police said.

State police told the Providence Journal and WPRI-TV that the shooting unfolded at a housing complex for the elderly in Westerly, a town along the Connecticut state line.

State and local law enforcement agencies responded to the scene where they secured the 150-apartment building without knowing the suspect.

CHICAGO GANG MEMBERS SENTENCED TO DECADES IN PRISON FOR KILLING 9-YEAR-OLD SON OF RIVAL GANG MEMBER

Westerly Police Chief Shawn Lacey told reporters that investigators reviewed surveillance footage to track down the suspect in one of the apartment units. When police breached the room, the suspect appeared to have died from a self-inflicted gunshot wound, police said. Investigators determined that the suspect was a 66-year-old who lived at the facility.

Another resident, also 66, was shot and killed, while two workers, ages 38 and 47, were injured and rushed to nearby hospitals, Lacey said. One of the injured was in critical condition and the other was in stable condition after surgery.

Reports of gunfire at the Babcock Village apartments prompted Westerly schools, the local hospital and at least one nearby business to order a lockdown as a precaution. Westerly Public Schools lifted their lockdown around 50 minutes after the shooting was reported; officials said Westerly High School would have dismissal at 1:20 p.m.

Tracy Wise, an employee at a boat repair business, told the newspaper, "everyone’s phones just started going off” about the shooting at the apartment complex next door.

“It’s a little scary knowing the guy may be running around behind us,” she told the Journal. “I don’t like being this close to something like this. We heard all the schools are in lockdown. It is not my time to die.”

THIEF HIJACKS LOBSTER TRUCK IN BOSTON, CRASHES IT INTO OTHER LOBSTER TRUCK

Rep. David Cicilline, a Democrat representing the area, tweeted that he was monitoring the situation as well.

"Keeping the victims and first responders in my thoughts," he said.

CLICK HERE FOR THE FOX NEWS APP

Police were continuing to investigate. The identities of victims will not be released until 24 hours after their families have been notified, police said.

Fox News' Bradford Betz contributed to this report.