If someone hands in their notice but you don’t want them to work their notice period, you may want to put them on Garden Leave. This means they continue to be employed by you until the end of the notice period but are not required to work.
Garden Leave is most commonly used with senior employees or sales staff, where you do not want them in the workplace but you don’t want to release them from their contract to work for another employer or set up in business themselves.
If you want the option of putting an employee on Garden Leave, you should include a clause to that effect in your contract.