A federal court ordered an Elkin, North Carolina, pharmacy to pay a $500,000 penalty and enjoined the pharmacy and its pharmacists from dispensing controlled substances, including opioids, without taking steps to help ensure the drugs will not be abused or diverted.