apponitments + : disable service after certain hour


Is it possible to disable a service after a certain hour?
I made a website for a hairdresser, so in the appointment section the client has to choose his service first (cut, color, ...)
But in the case the client select the "color" service, i would like to disable the last hour of the day because coloring someone's hair take about 2 hours...
In case a client select the "cut hair" service, the last hour has to be selectable...

So can I change the working hours depending on the selected service?