locking: initial release.

Not alpha nor beta version :D. This just work, but i don't know how.