Get whether the collection is locked or not.
Use [methodService.lock] or [methodService.unlock] to lock or unlock the collection.
Service.lock
Service.unlock
a collection
whether the collection is locked or not