Abstract:The paper proposes a semantic lock mode in the Web services environment. The lock mode implements the dynamic control of locking granularity, based on the amount of resources, to apply by current transactions and also explores the deadlock lifting mechanism to minimize loss of enterprise spending on the basis of the semantic information in the semantic lock. The mode increases transaction concurrency amony transactions in Web services and reduces the probability of the occurrence of the deadlock, which effectively improves the economic efficiency of enterprises.