Check out this Microsoft Help page


https://support.office.com/en-us/article/Send-automatic-out-of-office-replies-from-Outlook-9742f476-5348-4f9f-997f-5e208513bd67