I'm sure many do. I can tell you that both Kryptonite and Xena mention it as a warranty-cancelling usage.
Lock-safe lubes are NOT graphite, or anything that stays "wet." I posted one already, which I've used for close to ten years. The one bottle still isn't empty, and I use it on locks, knives, cigar cutters, and anything like that which needs fine, clean motion. You can use any number of dry lubes on locks safely. If you're paranoid there are a few small-can options that specifically say "locks" on them.