Yes, there are legal requirements for using air brake locks, which vary by jurisdiction. In the United States, the Federal Motor Carrier Safety Administration (FMCSA) sets regulations for commercial vehicles, including those with air brakes. According to FMCSA regulations, vehicles equipped with air brakes must meet specific standards for brake performance, maintenance, and inspection. 
Air brake locks, which are devices used to secure the brake system and prevent unauthorized movement of the vehicle, must comply with these standards. The use of air brake locks should not interfere with the normal operation of the braking system or compromise safety. 
Additionally, the Department of Transportation (DOT) requires that all commercial vehicles undergo regular inspections to ensure that all components, including air brakes and any locking mechanisms, are in proper working order. 
In Canada, the Canadian Council of Motor Transport Administrators (CCMTA) provides similar guidelines under the National Safety Code (NSC) for commercial vehicles, which include requirements for air brake systems and their components.
In the European Union, the European Commission's regulations on vehicle safety standards also apply to air brake systems, ensuring they meet specific performance criteria.
Operators must ensure that any air brake locks used are compliant with these regulations and that they do not impede the vehicle's ability to meet required safety standards. Failure to comply with these legal requirements can result in fines, penalties, or the vehicle being taken out of service.
It is essential for operators to consult local laws and regulations to ensure compliance with all applicable legal requirements for air brake locks in their specific region.