When editing in Photos, and a point has been made on the Curves line, the keyboard arrow keys ( up, down, right, left) will not advance to the next or previous image in the current album or library, and a warning tone sounds. Arrow keys work following any other edit, including Levels.
This may or may not be a bug. So far, the script gets to the Curves, sets a point then tries to push the right arrow key - an error "boop" is heard.