keep to

to do something according to the plan/agreement or what is demended by law

Examples

Tourists should keep to the laws of the foreign country.