Minecraft wiki entry for Development_versions, associated text: Lock mechanism is now slightly more stable / predictable.
It's still not 100% as Mojang wants it, but fixing it completely will require bigger changes planned for Java Edition 1.5.