Fix locking buffer when there is already an async process buffer

2 jobs for <span class="ref-name">fix-lock-buffer</span> in 45 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #4224
test:emacs:25.3

00:00:45

passed #4225
test:emacs:26

00:00:43