Use threading lock

Both work for threading, but this one is less expensive