I personally would write "To avoid deadlocks, use this method..." and also put a blank line between the first and second sentence (so Appledoc puts the second line in the method's "Discussion" section), but essentially yes. :)