add ldoc
ldoc config and wrapper
add the add
fix docs for unlock