Can a lawyer know when I entered Canada and my visa type based on my?
Assuming this is an Indian Passport, no it is not possible for lawyers to do that themselves. They will require your consent to run this information through the Indian consulate. Only a government authority, be it RCMP, CIC or the Indian Consulate can do it.