returns the number of active lock objects (i.e. those with at least lock started or lock set active)
Example:
player WeaponLockCount()