An investigation is underway after the deaths of three people in Blackpool.