Scores of residents have signed a petition urging the council to undo a decision to lock the gates of a city centre park at dusk.