You need to use the Reopen Closed Ticket action first and in your automation command button be sure and allow Paid status. Unlock ticket wont do anything for a paid ticket. There is lots of documentation on how to do this on the forum including a tutorial.
Issue category is for actual broken SambaPOS features not configuration mistakes or misunderstandings. Use Question category when posting about configuration issues or help with configurations.