Revert "remove unnecessary rlocks from col.ForAll"

This reverts commit feb3940c8b4f25a058001520e4cdfaad8b1ed350.
Revert "remove per-document lock, it does not help improving performance"

This reverts commit 0593cff5db087c1f9296c8219b65eeb053d79b8c.