Sure, but I can't imagine you'd plan for being fired for being locked out of your work area. There's a difference between having your house blow down by a hurricane vs having your house blown down by a slight breeze, and this would appear to be the latter.
Also, even in the US, you can sue for wrongful termination depending on circumstances.
Also, even in the US, you can sue for wrongful termination depending on circumstances.