I had a pysvn user report that they cannot detect that a wc is locked. What I found is that I get that info and indeed locked == 0.
This is because there is no code in svn_wc__status2_from_3 to copy locked value from old_status->locked into *status->locked. Do you need a bug report? Its been a while where do I raise that? Barry