Walgreens and other retailers are locking up products to deter theft, but this strategy may not be effective in the long run.