see whether you can change the channel on the router
That's also a good suggestion. In my case I had many drop-outs of connection while the router was on automatic (as in "automatically find a free channel".) I did a scan, found I could see about 15 wifi routers from my house, picked a black-hole between them, and selected a channel there and set it fixed, manually. No more loss of lock.