Preheat oven to 350 degrees. Line a 11x7 pan with heavy duty tin foil. Spray with non-stick cooking spray.
In a large mixing bowl, add in the butter and peanut butter. Mix until combined.
Add in the brown and granulated sugars and beat until light and fluffy. It will take 2 minutes. Scrape down the sides.
Add in the egg and vanilla. Mix on medium until the egg is incorporated. Scrape down the sides.
Add the flour, baking soda, and salt into the butter mixture. Mix on low until the dough forms a ball. Turn on high and beat for another 20 seconds. Set aside.
In a large bowl, add in the cream cheese and sugar. Mix on medium until light and fluffy. Scrape down the sides.
Add in the egg and vanilla and beat on medium until incorporated. Scrape down the sides.
Add in the coconut and stir until incorporated.
Add half of the cookie dough into the bottom of the pan. Press it out so it reaches all the edges and is even.
Spread the cheesecake mixture to the top of the cookie dough. Spread it out so it's even and touches the edges.
Sprinkle the remaining cookie dough on top. I placed bits all over and made sure I covered the edges. The pan will be super full, but won't overflow.
Place in the oven and bake for 30 minutes. Remove from the oven and let cool. Chill in the fridge 2 -3 hours before cutting. The tin foil will allow the bars to be easily pulled out of the pan to cut and serve.