Lock和condition