i am using example 1
arcpy.management.CreateMobileMapPackage("Basemap1;Basemap2;Map1", r"d:\temp\MobileMapPackage1.mmpk", r"d:\data\MyLocators\AddressLocator.loc", None, "DEFAULT", "SELECT", "Title", "Summary", "description", "Tag", "Credit information", "Usage_Limitations")
In this it need map name not mapx file name