added locked to bike and operational functions for it and dock