save gem lock