As of version 3.0, lock state between Capture/Action and Search is managed in the GlobalSearch database. GlobalSearch keeps lock state data in the Lock column of ssFields.
Lock states include:
EndOfQueue = 1
in Q Processing = 2
Errored = 3
Completed = 4
Ready = 5
ManuallyCompleted = 6
Waiting = 7
WaitingQueue = 8
in Q Validation = 9
SubProcessing = 10
The lock object in SSFields also now includes supporting information related to the process, including the workflow, the current queue, secured users/groups, etc.