401ks are a separate thing entirely. Generally they don’t let you invest in individual stocks at all.