Method of control the access to mean of transport