Most Samsung cash registers have an INITIAL CLEAR which can unlock them if it gets stuck in a sale. Try that first. Make sure you use the procedure for initial clear from the manual as thats the one that doesn't lose any programming.
Registerman, July 2016