You can get hit anywhere, at any time, by anyone as long as you have similar enough stats. Nothing can stop the attacker from attacking.
Please make this more clear. When the roster is locked, anyone not on the roster cannot join. Just like any war, only active members can be hit