Return key stroke

I am trying to simulate the return keystroke using AppleScript.
The idea is to activate Photoshop to commit an operation by pressing the key Return.
I have tried using key code, using the return label) but none of them work.
In many cases, the script runs and never ends.

Can this be done with AppleScript

tell application “Adobe Photoshop 2021”
end tell
tell application “System Events”
keystroke “return”
end tell

Model: Mac Book Pro 2015
AppleScript: 2.11
Browser: Chrome
Operating System: macOS 10.14

I don’t have Photoshop for testing but I don’t believe return should be in quotes. To demonstrate:

tell application "TextEdit" to activate

delay 1

tell application "System Events"
	keystroke "return" --> types the string "return"
	keystroke return --> makes a new line
	key code 36 --> makes a new line
end tell

The delay may or may not be needed depending on the speed of your computer.