Beachgoers playing a game of volleyball on the Belmar, N.J., beach. Gov. Phil Murphy signed a law Friday that protects the public’s right to access the state’s waterways and shorelines.