Unless you are actually arrested, the police may *not* restrain you from calling anyone, including your attorney--or, for that matter, from simply leaving and going to your lawyer's office or anywhere else. (And if you are arrested, they must at the first reasonable opportunity in the process let you contact an attorney.) They could arrest you if they felt that had "probable cause"--but if they did not, you could potentially have a lawsuit against the police.