Returns a lock object, split for testing

def _create_lock_object(self, key):
        '''
        Returns a lock object, split for testing
        '''
        return redis_lock.Lock(self.redis_conn, key,
                               expire=self.settings['REDIS_LOCK_EXPIRATION'],
                               auto_renewal=True)