The genuine Pentax M42-K adapters aren't hard to remove. You just use a fingernail to pull the little tab toward the centre of the mount, then turn the adapter to remove it.

The quick shutter flick trick seems to work on some bodies but not others. I've never managed to get any of mine to do it, one MX did it unexpectedly but hasn't since.