I've found that after removing the USB connection, either from the charger or a PC, the phone wakes up and displays the "Screen locked" screen, but it will fail to time out normally in a few seconds as it usually does after waking from a Menu-key press.
This is a bad battery-draining behaviour, especially considering I've usually just finished charging it!
HTC Dream