A Bournemouth author has based their new thriller on the 'idyllic' Boscombe beach.