When you enter Ultimecia’s Castle, eight of your party’s abilities (including saving) are locked. You can unlock saving after defeating one of the bosses, or you can always save your game outside the castle itself.