gh-114315: Make threading.Lock a real class, not a factory function
#114479
+52
−14
threading.Lock a real class, not a factory function
#114479