Lyme requires the tick to be on you and feeding for like 24 hours right ?
It's almost certain to have crossed that threshold after 24 hours.
It's unlikely and uncommon to have happened in five minutes or an hour.
It's possible to occur almost immediately .. but that would likely only happen to someone with a weak immune system that's easily overwhelmed by a relatively small amount of bacteria.