Merge pull request #11554 from JosJuice/host-lock-cpu DolphinQt: Properly lock CPU before accessing emulated memory