78 Chapter 12. Locking IN THIS CHAPTER Understanding Locking 101 Using <cflock> 101 Dealing with Deadlocks 103 Summary 105 Understanding Locking The concept of locking is well established in multi-user environments. File locking prevents multiple users from editing a file at the same time. Database management systems also use locking by allowing different users to access the same records without interference. In a ColdFusion environ- ment, locking is used to explicitly manage the sequence in which concurrent requests are processed.