Lock for bus and other machinery