Sounds like a great idea, as long as you can wash it off your bike afterwards.
"…it's pressurized inside with a noxious chemical deterrent that slams the would-be thief with noxious chemicals. The chemicals are so disgusting they induce vomit in the majority of cases, and elicit an instinctive response to run away immediately."
https://www.indiegogo.com/projects/skunklock-the-only-bike-lock-that-fights-back-bicycle#/