A petition to partition initiates a legal proceeding, which allows a co-owner of real property to dispose of the same by physical division or forcing a sale. Petitions to partition are governed by G.L. c. 241. Each co-owner of property has the "'equal right of entry, occupation and enjoyment'". Hershman-Tcherepnin v. Tcherepnin, 452 Mass. 77, 90 (2008), quoting Muskeget Island Club v. Prior, 228 Mass. 95, 96 (1917). However, if, for whatever reason, a co-owner no longer wishes to hold title to the property with his or her other co-owners, then that individual has an absolute right to file a petition to partition to dispose of the co-owned property. See Hershman-Tcherepnin, supra at 92. Parties can, however, enter a contract that may limit or restrain their rights to partition co-owned property, if the restraint is for a reasonable period of time. See id. at 93.