As pointed here, lockf() name is a bit confusing.
Maybe we should rename it to something like lockfile() before it's too late.
@druxa, what do you think?
Ok, done in 1.01.
Old names are deprecated, print warnings, still exported on :all and will be removed after several releases.