gem lock setting