The Ankylosaurus will not attack you in the wild unless you attack first. When battling you can run away quite easily, just be aware, they have high health, so if you plan to kill one make sure you have enough stamina and resources to kill them.
They are very slow and can't turn around very easily. So come up behind one and shoot it with tranq arrows. You should be able to knock it out before it turns around and attacks you. But don't get too close!! Watch out for other Ankylosaurus too. They are travel in herds
For a low lvl player a lvl 1-45 is good enough to get you going but when you get the kibble a lvl 116-120/150 should be your main goal. High damage means more metal per hit & weight is your 2nd most useful stat to carry more. P.s taming a lvl 145 ankly now ;)
The Ankylosaurus is, in my opinion, one of the best dinos to tame as a low level. Not only is it the best dino to gether metal, it is also a great taming mount, because it can collect berries and can kill little things like Raptors easy. This will be one of your most used dinos when you get into the higher levels and taming an Anky as soon as you can make the saddle (lvl 40) is highly recommended.