No, a factory reset does not remove the activation lock from an iPhone or other iOS device. Activation lock is a security feature that requires the device to be connected to the user's iCloud account in order for it to be used. To remove the activation lock, you will need to either enter your Apple ID and password or use Find My iPhone on another iOS device to erase and reactivate your device.