If you HAVE to use a .22lr handgun, use a revolver. I love the round for plinking and fun stuff, I will attest it can work in a pinch.....but like Fred says, there's way better choices.
Even the tusty ammo like CCI mini mag will dud once in a while....not good in a tiny pistol that's already hard to manipulate quickly and even worse if it doesn't have an extractor (many don't).
Still, I won't sell the round short when a person is skilled in using it....I remember John Hinkley used a cheap .22lr revolver and put three people on the ground in less than 2 seconds with a fourth being carted off to the hospital. No indications he was some skilled badass, either.
I had the money till they made me pay
Then I had the sense to be on my way
I had to stay in the underground
I was in the house when the house burned down.