`BusyLockError` might be a better name for this, there could eventually be other reasons why you're unable to acquire a lock, and in code that uses BasicLock might care about a specific one.