Locking a wild animal? Yes. Locking a domesticated one, the one that co-evolved with humans, gaining some features (like facial expression) specifically in a context of coexistence? I’m not that sure.
Please see two evolutionary biologists mentioning some of the relevant points starting at 17:54 here https://youtu.be/CS3w9zOGvmw