Police have charged a man for allegedly attempting to abduct a young woman in a headlock in Central Queensland overnight, after stopping her outside a hotel to ask for directions.

Key points: The man allegedly stopped to ask the woman for directions before putting her in a headlock

The man allegedly stopped to ask the woman for directions before putting her in a headlock The woman managed to get free after beeping a car horn and attracting attention

The woman managed to get free after beeping a car horn and attracting attention The 21-year-old man was bitten by a police dog and taken into custody after fleeing into bushland

It is alleged the man dragged the 24-year-old woman towards a nearby ute outside the Park Avenue Hotel.

Detective Senior Sergeant Luke Peachey said the woman managed to raise the alarm by pressing on the horn of a car.

"He struck her a number of times with a closed fist to the face and tried to force her into the vehicle," he said.

"We're really thankful that some people close by actually challenged him and it looks like they've scared him off because we could be dealing with something a lot more serious."

Detective Senior Sergeant Peachy said earlier in the night the utility was allegedly stolen from a Kent Street address.

He said the Rockhampton police dog squad was carrying out a training exercise in the carpark of a shopping complex in North Rockhampton when officers saw the vehicle hooning in the area.

"They've challenged that vehicle and as a result, the vehicle has driven towards both officers and forced them to jump for safety to avoid being collided with."

Police said not long after that the man drove to the hotel and allegedly tried to abduct the woman.

An hour later the ute was spotted and pursued by police who deployed tyre stingers.

Detective Senior Sergeant Peachy said the man abandoned the vehicle and fled into bushland.

The man allegedly stopped the young woman outside a hotel to ask for directions. ( ABC News: Megan Hendry )

"Police dogs were then deployed and as a result have tracked that person to a location where police will allege the male person assaulted the police dog before being taken into custody," he said.

"As a result of being taken into custody, he was bitten by the police dog before being arrested."

The man is currently in police custody after being treated for his injuries.

The 21-year-old Rockhampton man is facing a number of charges including deprivation of liberty and is expected to appear in court later today.

Police are yet to obtain a formal statement from the victim but have praised her actions and those of the people that came to her aid.

"They assisted us greatly and assisted her greatly and we thank them for that," Detective Senior Sergeant Peachy said.

"If she had gotten into that vehicle, who knows what we could be dealing with right now.

"She's obviously very shaken up and we'll be working with her later on today."

Police are appealing for witnesses and anyone who may have dashcam footage of the utility.