(Left to right) Senneca Traylor, 19; Janice Lewis, 20; and Robert Williams, 28; have been charged in connection to an incident where officers were locked inside a home, police said. Credit: Google Maps and Provided

CHICAGO — Three police officers were treated at a hospital Monday after being locked inside an Englewood home, police said.

At 2:40 p.m., police were trying to arrest someone for spitting in an officer’s face when another person threw a 2-by-4 at the back of an officer’s head, police said.

Officers chased that person into a home in the 7000 block of South Throop Street and struggled with the person, police said. Other people from the home then allegedly locked the officers inside.

The officers got out after a short time, police said. Three officers were taken to a hospital, treated and released.

Senneca Traylor, 19; Janice Lewis, 20; and Robert Williams, 28; were taken into custody in connection to the incident, police said.

Traylor has been charged with aggravated battery to an officer and resisting or obstructing an officer, Lewis has been charged with aggravated battery to an officer and Williams has been charged with unlawful restraint and resisting or obstructing an officer, police said.

The three were scheduled to appear in Bond Court on Wednesday.

kelly@blockclubchi.orgnnkelly@blockclubchi.org Twitter @BauerJournalism