Sorry, didn't read well. The correct behavior should be this:
- Light sensor covered -> phone won't unlock.
- Proximity sensor covered -> phone automatically locks itself.
It should prevent pockets dials, you shouldn't be able to dial any phone number if the proximity sensor is covered, so it's...