If no external force acts on a system, then its total linear momentum remains conserved.
Linear momentum depends on frame of reference but law of conservation of linear momentum is independent of frame of reference.
Newton’s laws of motion are valid only in inertial frame of reference.