TW-27930 Shared Resources plugin - resource should be "pausable"
Fixed correct reporting of taken locks - disabled resources are not available for locking
(cherry picked from commit d466b3a)