What it will do is make it harder for you to lock the bike up properly, unless you plan to weld it with the arms of the "U" sticking out to one side.
Not to mention what the heat would do to the strength of the lock and the bike frame.
Bad idea.
__________________
Today, I believe my jurisdiction ends here...