Preheat oven to 350F. Melt the coconut oil in a medium sized skillet or pan over medium-high heat. While the pan and oil are warming, sprinkle salt and pepper over both sides of the chicken thighs. Use tongs to place the chicken in the pan.
Once the chicken has browned, use the tongs to gently flip the chicken and cook the other side. It should take 2 to 3 minutes and the chicken should be easy to lift from the pan. If it's stuck on the pan, give a little more cook time before turning.
Pour lemon juice over the chicken and into the pan. Sprinkle thyme over each thigh. Arrange garlic cloves and onion wedges around the chicken. Top chicken with lemon slices.
Place your skillet or pan into the oven and cook for 20 minutes or until the internal temp is 165F.
Remove from oven. Allow chicken to rest for 10 minutes before serving.