locking and the condition number