updated dependencies for zf2 to 2.3-dev
improve lock method