I just double checked on my phone, on Android you can pin the current app, that limits access for the user to only that app. Unpinning requires you to essentially unlock the phone again. I wouldn’t hand my phone to a pig either, but if I pinned the app, it would be secure enough for a traffic stop.
My cat has a fungal infection in his brain and requires one pill twice a day. Been doing this for sevenish years. He’s the only cat I’ve ever had, so take this with a grain of salt, but I just get him on my chest and pet him until he starts purring. Then I use a finger to open his mouth and push the pill to the back of his throat, and immediately go back to petting him. He swallows it, and sometimes gags for a second. But, I do it really quickly, and usually it’s over quick enough that he doesn’t even stop purring. YMMV