When adding a task, have the option to automatically add it to calendar to block that time. It can be chosen in the task, with a little box with the option ('add to calendar' / 'block in calendar')