Update example with acquireUsingLocked and getUsingLocked.