you can achieve this by several measures, first would be to dig your plant in as deep as possible. second would be to top and generally cut till flowering sets in and last would be to tie it down with strings or wires till the day of harvest. but keeping a plant outdoors that tinny is more the a hard task since plants seek to outgrow the surrounding vegetation.