I heard of an octopus in a marine biology lab that was able to work out that the feeder was controlled by an app on the postdoc's phone, and the cephalopod was able to sneak the phone out of the postdocs pocket, unlock it, and activate the feeder, then place the phone back, multiple times before the postdocs wised up.