How do I encrypt my modem ?
Well, that's not really a thing. Can you tell us what your concerns are? Perhaps we can help if we have a little more information.
Are you talking about using the WiFi encryption / network password feature for a "router" / gateway device" ? A straight cable modem does not have an encryption feature.