Agree with the above post.
I found the following December 2019 Sonos User Guide:
https://files.bbystatic.com/3mM2drCEmdUcCNZkpdhm4w==/0d1fd6f7-56c6-4dac-9cde-45bc0c7649f6.pdf
From the Guide, Page 5:
"Getting started Here’s what you’ll need: • WiFi—have your network name and password ready. • Mobile device—connected to the same WiFi. You’ll use this for setup. • The Sonos app—you’ll use it to set up and control your Sonos system (install it on the mobile device you’re using for setup). • A Sonos account—If you don’t have an account, you’ll create one during setup. Learn more about Sonos accounts. Note: Get more information about the latest Sonos system requirements "
And, Page 123:
"Have a new router or network password? If you have a wireless setup (no Sonos product connected to your router): After you install a new router or change your network password, update your Sonos system with the new network information. Just open the Sonos app and we’ll walk you through it. If you have a wired setup (there’s a Sonos product connected to your router): You don’t have to do anything when you install a new router (as long as you connect a Sonos product to it) or when you change your password. Your Sonos products will continue to work as before. "
One of those products where the manufacturer appears to want to be the "one ring to rule them all". Generally by requiring users to create an online account with the manufacturer that in turn allows end user access back to the speaker (or other devices as applicable) for configuration purposes. [I avoid such products.]
You may be able to directly access the speaker via a browser.
Reference:
https://bsteiner.info/articles/hidden-sonos-interface
I have no way to test the access but you may wish to give it a careful try.
After some googling about and reading, it appears that Sonos speakers cannot be assigned a Static IP address.
What you must do is to allow the router to assign a DHCP IP address to the speaker and then, if necessary, reserve that DHCP IP address for the speaker via the speaker's MAC.
FYI:
https://support.ask4.com/help-support/my-devices/connecting-a-sonos-speaker-to-ask4/
Once the DHCP IP address is "fixed" then that IP address may allow end user access to the speakers configuration settings.
Or otherwise restrict that IP address in some manner.