Many online games offer this feature, a short period after login where you are immune to pvp/pve engages.
This immunity could last up to 30 seconds, and would break if moving or engaging in combat.
This would fix the pve issues where you login into an aggressive animal, and find yourself chipped down to half health before even seeing anything on your screen.