There are many different styles of turf available, from close weaves ideal for practice putting greens etc., right through to 40mm long grasses. By and large they need to be installed on a compacted base, fixed at the edges, and weighted with silver sand. So it is as well to be aware that it is not simply a case of laying it on the ground and you have an artificial lawn.
But also be aware that having artificial turf does not mean that it is maintenance -free. It is not. It will require brushing, disinfecting if you have pets, and in some situations, weeding because weed seeds will still germinate in the sand.