The main purpose of the BLOC Act is to ensure that states and local governments notify the federal government about the release of certain undocumented immigrants from custody. The legislation aims to limit federal funding for infrastructure projects in states that do not comply with this requirement. Key provisions of the BLOC Act include a mandate for states to establish a process that requires local authorities to inform the Secretary of Homeland Security at least 48 hours before releasing an undocumented immigrant from custody.