While workers have the right to strike, employers also have the right to lockout workers. This means an employer prevents their staff from working.
A lockout can only happen when there are negotiations for a collective agreement that will cover them with the union in which the workers belong to, or when there is a health and safety issue.
If the lockout is about a collective agreement, the employer can lock out only workers who are, or will be, covered by the agreement. If the lockout is a health and safety issue, the employer can lock out any workers. During a lockout your employer will stop paying you until the lockout has ended. Your employer will probably tell you that you cannot be at work while you are locked out.
Like a strike, your employer cannot tell workers who are not locked out to do your work. However, your employer can ask for volunteers to do the work. Also, new workers or contractors can't be hired to do your work unless there are health and safety reasons.