We consider a nonlinear fractional boundary value problem involving conformable variable-order derivative with Dirichlet conditions. We prove the existence of solutions to the considered problem by using the upper and lower solutions' method with Schauder's fixed-point theorem. In addition, under some assumptions on the nonlinear term, a new Lyapunov-type inequality is given for the corresponding boundary value problem. The obtained inequality provides a necessary condition for the existence of nontrivial solutions to the considered problem and a method to prove uniqueness for the nonhomogeneous boundary value problem. These new results are illustrated through examples.