2 Kings 11:8

And ye shall compass the king round about, every man with his weapons in his hand: and he that cometh within the ranges, let him be slain: and be ye with the king as he goeth out and as he cometh in.

Cross-reference

In 2 Kings 11:15, the command to kill anyone approaching the ranks is carried out against Athaliah's followers.

2 Kings 11:11 describes the guards carrying out this exact command—standing with weapons around the king.

2 Chronicles 23:7 gives the parallel command to surround the king and kill intruders—same event from the other account.