In the first case, the normal reaction force is equal to the weight of the stone, hence the stone slides easily because the friction force is very less. However, in the second case, a small piece of wood is sandwiched, which increases the normal reaction force on the wood due to the weight of the door. Hence, greater the normal reaction force on the wood, the greater will be the frictional force between wood and the floor.