As expected, the tilde key (`) unlocks a whole host of Fallout 4 cheat codes on the PC version. Hit the key and enter the following commands.
tgm - God Mode
tcl - Turn NoClip mode on / off
tai - Toggle all NPC AI on / off
tcai - Toggle NPC combat AI on / off
tm - Toggle UI...