Your work permit will contain conditions, including those that will be written on the work permit itself.
If you are on a closed LMIA-required work permit, for example, conditions will include the type of work you can do, which employer you can work for, where you can work, and how long you can work.
There are other standard conditions that apply to all foreign workers such as being required to leave Canada at the end of your stay.