The Santa Clara County Sheriff’s Office began restricting access to Elmwood Correctional Facility in Milpitas on Friday to anyone who does not have an “immediate facility-related purpose,” including federal organizations and those picking up people being released from jail, citing public safety concerns, authorities said.

The new policy comes amid an increased federal immigration enforcement presence outside the jail in recent weeks — including an incident on Wednesday night after which a man was hospitalized after being tased by Immigration and Customs Enforcement officers and one on Friday night in which a volunteer monitoring ICE activities and three ICE agents were treated at a local hospital.

The East Bay has also seen increased immigration enforcement — including an incident on Friday in which agents allegedly left a child unattended after making a targeted arrest in Orinda, according to city officials.

Community advocates have also said that agents near the jails have started to question people about their immigration status instead of carrying out targeted arrests.

Santa Clara County has enacted sanctuary policies that block local law enforcement from assisting federal agencies with immigration enforcement and established “ICE-free” zones on county property, but agents have previously used publicly available inmate release lists and then waited outside of the facility to detain individuals.

The Sheriff’s Office referenced “several recent incidents near the facility” that “created safety concerns and operational challenges in areas used by employees, visitors, individuals being released from custody and members of the public” but did not specifically reference last week’s ICE encounters, according to a news release from the Sheriff’s Office. That “increased activity” around the facility “has affected traffic flow” and “raised concerns about the safe movement of vehicles and pedestrians,” the Sheriff’s Office added.

“Our responsibility is to maintain a safe and secure environment for everyone who comes to Elmwood, including staff, visitors, service providers and those leaving our custody,” Sheriff Bob Jonsen said in the news release. “These changes are intended to improve safety, reduce disruptions and ensure the facility can continue operating effectively while respecting the rights of all individuals.”

In the Orinda incident, members of a community group said ICE arrested a person in front of a child and that ICE left the child behind, but city authorities did not immediately confirm that information. City officials added that ICE assured them it was an isolated incident and there were no ongoing enforcement activities in the city. ICE did not respond immediately to requests from this news organization for comment.

In a statement posted on social media, city officials said they confirmed with ICE that “federal agents were conducting a targeted effort on an individual with a criminal arrest warrant. The arrest occurred in Orinda.”

The Elmwood access restrictions limit access to the facility to one entry and exit on the jail’s west side at 945 Thompson Street, authorities said. Visitors must show an ID to enter the parking lot. On Monday morning, sheriff’s vehicles were parked to block other entrances around the jail’s perimeter, and orange traffic barriers blocked most of the primary entrance where a sheriff’s deputy checks the IDs of those entering.

Authorities added that the restrictions will “apply equally to all individuals and local, state, and federal organizations seeking entry to the facility grounds.”

Approved reasons to enter include attorneys visiting their clients at the jail, those going for planned visitation and those with approved jail-related business, including contractors and service providers, authorities said.

Those picking up someone being released from custody at the jail will not be allowed to enter the jail’s parking lot. Instead, the Sheriff’s Office is encouraging them to “identify a safe pickup location outside the restricted areas.”

Those who are released from custody will be allowed to wait in the lobby, said Brooks Jarosz, senior communications officer for the sheriff’s office.

“For your safety, if you are released from jail late at night or early in the morning, the Sheriff’s Office encourages you to stay in the Elmwood lobby until daylight. This may be especially helpful if you do not have a ride arranged,” reads a notice posted in the lobby shared by Jarosz. “After you are released, you are no longer in custody and are free to leave at any time. Staying in the lobby is completely your choice, but is strongly encouraged when it is nighttime.”

The notice adds that snacks, water and phone chargers are available, and that those who do not follow the lobby rules will be asked to leave.

“Once it is light outside, please leave as soon as you can,” the notice continues.

The new restrictions will remain in place indefinitely, Jarosz added.

The Sheriff’s Office added that it does not participate in civil immigration enforcement.

“Consistent with California law and County policy, the Sheriff’s Office does not assist ICE with civil immigration arrests, honor civil immigration detainers, or notify ICE when individuals are being released from custody,” the office said in an FAQ about the new policy. “The new facility access restrictions do not change these longstanding policies.”