The software does not properly acquire a lock on a resource, or it does not properly release a lock on a resource, leading to unexpected resource state changes and behaviors. Inconsistent locking discipline can lead to deadlock. The weakness is introduced during Architecture and Design, Implementation stages.