First of all King's Shield has priority but in order to understand it here's my revised and revied list.
King's Shield protects the user from any moves except status moves for that turn. Additionally, if King's Shield blocks an attack that would make contact with the user, the attacker's Attack stat drops by 2 stages. If Sucker Punch is used on a Pokémon that has used King's Shield, the move fails and the Pokémon's Attack does not drop.
If selected by an Aegislash with Stance Change while in Blade Forme, it will change to Shield Forme before it would use King's Shield, even if the move fails or is not used due to something like sleep.
Using King's Shield, Protect, Detect, Endure, or Spiky Shield consecutively decreases the chance of success to 50%. This is an increased priority move, and therefore will always go before attacks during the turn.
King's Shield is unable to defend against status moves or any of the following moves:
The users of these moves do not get an Attack drop. Additionally, Feint, Phantom Force, and Shadow Force lift King's Shield's protection for the rest of the turn.