You can purchase sub sonic rounds for a 22LR.
They do not break the sound barrier.
Therefore, you do not get the loud crack that a normal 22LR cartridge will give you.
I have used those on my 22 rifle.
.22 air rifles would probably work.
CCI Quiet Rounds are lower noise than a Gamo pellet gun. I’ve used them on ground squirrels with success. Also, if I need something more potent, I find a place where I can see the target from inside a room. Get well back from the window (open without a screen) and it will pretty much keep the neighbors clueless.