You can use lavender leaves and stems in place of rosemary in cooking, so for example as a rub, or putting a sprig in meat or a sauce and then removing it.
My rosemary plants keep refusing to enjoy the wet and windy climate here, whereas the lavender survives, so I use it quite a lot like this. It isn't as perfumy as you might think when used this way :)