add lock to fake_gordon to avoid races in tests that use fake_gordon