Is there any way to prevent the headset from being able to unlock the phone when you momentarily press the headset button?

I can understand holding the button for 2 seconds or whatever but mine is unlocking the phone and that leaves it open for any number of applications to start while the phone is in my pocket.

Or is this something I'm just going to have to work with?