The Maryland State Police have agreed to a $2.7 million settlement in a civil rights lawsuit in a case brought by the U.S.