I got a carbon-framed Kestrel Talon Road Bike recently but I also want to use it for commuting to and from work and I want a place to put my lock and other stuff on the bike. Is it possible to have a rack on this kinda bike.
It is (strongly) not advisable to put a rack on carbon.
You could probably put a lock mount on the handlebar stem (I do).
You could get an over-sized seat bag.
Possibly a handlebar bag.
Bottle cage bag but they don't have much capacity. They are good for like wallet, cell phone, and keys.
Don't like to do product recommendations but Revelatedesigns have a lot of bags.
Not easy to find but there are carbon forks with rack eyelets. But I would not do that to that bike.
Not a typical commuter bike.
I suggest looking at frame bags. They don't carry much, but they have more capacity than the more sensible under-seat bags. You can get various sizes (up to 'fill the triangle'), and could even do both a frame bag and a seat bag.
There's a cycle tourist with a carbon bike a bit heavier than yours here so it can be done. Most of the carbon bike people tape their frames where the bag will rub to prevent the bag slowly grinding through the frame, but that seems to be the main concern.
I have a rack on Carbon Fiber Trek 5000 series frame. It's been there for around 7 years. I did it by drilling and tapping holes into the rear dropouts, which are aluminum. So none of the weight is on the frame at all — it's taken by the wheel directly. A single stay at the top anchors the rack to the brake bolt.
Now, I would not think of using the bike for a loaded tour. But for holding my briefcase on for a trip to the office: no problem at all.
Of course, many newer carbon frames don't have a flat place on the dropout where you could do this. A better alternative might be a racks that mounts to the axle, attached by the QR skewer.