Moving a single barline separately

If you hold down Ctrl/Cmd while dragging a barline, the widths of the surrounding bars are not affected.