When you book an appointment and change the duration of the slot, the alert 'The proposed duration for this appointment overlaps with another appointment/slot' displays. If you want to proceed, book the appointment as normal.
Note - The warnings do not stop you making an appointment.