system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars: RotJ] So what was Luke's plan for Emperor Palpatine if he could beat him?

Seems like Luke was very set on not killing Vader, but what about Palpatine? 

If Luke didn't want to kill the emperor what would Luke do? Lock him up? Obi-Wan or Yoda would advise Luke to kill Palpatine right?

For the sake of the question just pretend Yoda taught Luke how to deal with all of Palpatine's force powers like lightning.
gpt
Luke was on a suicide mission. He intended to distract the Emperor long enough that he would die once the Alliance destroyed the Death Star.

He had hoped he could redeem his father before he died too, to put his soul to rest.

However, the delay to the rebels actually meant the Emperor died relatively early in his plan, affording him time to escape.