The state last month took the unusual step of asking the high court for an order that would close the two locks and would require authorities to take all other action necessary to keep the carp from entering the lakes .