ChasGI,
Unfortunately, there is not a way to query a lock to determine what/who posseses it.
The Get Status lock operation returns the Number of Threads Waiting to Lock the Lock. You could get creative with that.
Matt P.
Applications Engineer
National Instruments