There is now an app for this in the Market specifically for the HTC Hero. Uses the light sensor to lock and unlock the screen during a call. Proximity Sensor v1.0 Application for Android | Tools
We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.