In an 84-page lawsuit filed Wednesday in San Francisco Superior Court, the California Attorney General's office said Amazon had effectively barred sellers from offering lower prices for products elsewhere through contract provisions that harm the ability of other retailers to compete.