You should apply some discounting factor to the 401k in determining your 4% SWR amount. There are ways of accessing your 401k money, via the 401k roth pipeline method, and SEPP as well, so it's not completely locked down, but expect to lose some face value to the taxes you haven't paid.
Also, don't just drop out at 4% minimum life costs and call yourself good. Make sure your SWR has some amount of leeway built into it. 4% is fairly well supported(in America historically), but a variable 4% with excess built in?