add bwlock documentation