picking key owner mode was wrong, because deprecated getLock(object) and...

... we are using getLock(String)

the reason is that old code calculates partitionOwner according to integer. But getLock first convert int to string then calculates partitionOwner.