Toggle AI: Skyrim cheat code
Switches character AI on or off, so that NPCs stop interacting with you and stop doing anything at all.
Console commands
PCtaiPress the tilde (~) key to open the console, type the command and press Enter.
To get the Toggle AI cheat in Skyrim on PC, type tai.