Lamb, John, active 1843-1855, Lieutenant