結果 : how to use thread lock in python