Revert "continue removing unneded locks, rework locksystem part 8 (independent). testing."
valgrind says wrong.

This reverts commit 0f5bbfbddf7e3499ab37738cb68b96d2df754b42.
Revert "drop LockedVector usage (seems unneeded in current code), rework locksystem part 2. need separate test."
forget from scripts :( this structures need mostly for script containers.

This reverts commit 2a75c989f8b2ee7bd9971e9557dc470fbc244e10.