Finally someone else with this really annoying problem. It drives me absolutely nuts!
For those that don't have it, picture the scene: You had all your windows (Safari, mail, etc) sized and positioned to your liking. Lock or sleep the Mac and come back sometime later and very often apps such as Safari or mail are now positioned in the bottom left of the screen and need to be moved and resized again. Other times as the Mac is waking you see them momentarily appearing in the bottom left before jumping to the position that you last had them.
Why these kind of things still happen, along with finder windows, all these years on is beyond me (and Apple it would seem).