Yes, via (temporary, no signal/some iCloud features disabled) or using legacy tools like Sliver , iRemoveTools (older versions). Warning : Most free methods require a computer (Mac/Windows) and may not survive reboots.
This method is considered "semi-permanent" because if you erase the device via Settings, the lock returns. However, it survives reboots.