So you took the caliper off, pushed the pistons in, installed new pads (with or without shims), replaced caliper... and now the pads lock on the rotor? Weird. It sounds either like the pads are too thick for your application, the wheel is not centred, or the pistons aren't retracting (which is...