The action arrow is pointing in the correct direction in the sentence:
––––––> Maria opened the lock with her key.
This indicates that Maria is the one performing the action (opening the lock), which flows correctly from the subject (Maria) to the object (the lock).