https://www.nolo.com/legal-encyclopedia/how-handle-tenant-holding-deposits.html
It is called holding deposit not a security deposit. But it should be the same amount as security deposit and it becomes security deposit when you sign the lease before his moving date.