While your assumption is correct that both may be translated as "to include" into English, beinhalten may also be translated as "to contain" and einschließen as "to lock in". If you only wish to know the difference between the two words when they mean "to include", I would assume that they are synonymous, as I cannot think of an example that would support the contrary.