Add classes for Thread Lock