void DoorUnlockAnim(string &in asItem, string &in asEntity)
{
SetPropHealth("RustyLock", 0.0f); //RustyLock is the Lock.
SetPropHealth("DoorName", 0.0f); //Door is hit with damage too as you explained it. Change doorname to what ever your door's name is.
SetSwingDoorLocked("DoorName", false, false); //Change doorname to whatever your door's name is.
PlaySoundAtEntity("", "LOCKBREAK.snt", "Player", 0.0f, false); //Change LOCKBREAK.snt to the sound of a lock broken with the extension .snt.
SetEntityActive("Hammer", true); //Hammer.
SetEntityActive("Chipper", true); //Chipper.
AddTimer("", 1.4f, "HammerChipperMove");
}