document threading.Lock.locked() (GH-17427)

1 file changed