Fix compute locking