Norwich City Council has reversed its decision to stop locking the gates of city parks after a trial period saw a rise in antisocial behaviour.