Magnetic force signal of vortex creation in type-II superconducting thin films