added documentation build system
added lock documentation