Hello Nikola,
We appreciate your effort in bringing this up here. As much as we would like to assist you about the error code d000f001, this is beyond our scope since your device OS is no longer supported here in the Community. To know more information about Windows product life cycle, see here.
To unblock your SIM card, we recommend that you get in touch with your network provider and ask for Personal Unblocking Key.
For future queries, don't hesitate to get back to us.