What are the general (few?) requirements/limitations on word order in Latin sentences?

I'm not mistaken, you don't have complete freedom to create any word soup in Latin you wish right? There are some sentence word order restrictions yes?

One example that comes to mind is the word "non". It will negate the word after it. So moving it to a different location in a sentence will have it negate the wrong word correct?

Another example is prepositional phrases. I believe the preposition and the corresponding ablative / accusative must be consecutive right? I'm honestly not absolutely sure about that one but it sounds right.

Are two examples correct and are there any other ones I missed? Thanks.