add lock in stop game