Why is the access code needed and how can I get the same?

The access code is required for 2FA (2 Factor Authentication). Kotak Securities will send the access code to your registered phone number and email address.