The CEO of Walgreens has revealed that the practice of locking products in glass display cabinets has hurt store sales.