A lawful owner can generally deal with inherited property subject to applicable succession, co-ownership, partition and registration requirements.
A person should not sell property merely because they expect to inherit it. The legal succession and land-record process should first establish the person's interest where required.