Best way to bulk edit post restrictions?

I’ve got 100s of posts that have no access restrictions that I would like to make restricted . Rather than having to enter every post and edit publish option to restrict is there an easy way to do this or plugin that enables this?