The state of Maryland will allow bicycles on sidewalks starting Oct. 1, but Ocean City officials plan to maintain local restrictions in designated areas.