Does word "unionize" have the same meaning in the following two sentences?

The company laid off all the workers when they tried to unionize.

We don't allow people to come into our plant and try to unionize the workers.
the same meaning