Trying to get locking working...