Fixed the error in the actions file.
Lock and unlock were transposed.