A paywall is a method that restricts access to online content just to paying subscribers. Differently from a cookie wall, using paywalls is absolutely legal since they do not collect any personal data of users. It is generally not legal to disable or bypass a paywall since you can break copyright laws.