I have to rattle the key around a bit in the lock to get the lock to turn. Good luck designing a robot to figure out it needs to rattle the key in a certain way. Or to realize that the door needs to be pulled or pushed a bit while turning the key, so the bolt doesn't jam in the door jamb.
One of my doors needs to be pulled upwards in order to open/close it. (Due to slowly pulling the doorframe out of alignment over time.)