Yes, local building codes and regulations must be followed when installing an aluminum fence. You should check with the City of Lockport or Will County Building Division for specific requirements related to fence height, setback from property lines, and any other restrictions that may apply to your project.