"Apple would gladly participate in such an effort," the iPhone maker said in a question and answer session published on its website.
The Federal Bureau of Investigation is seeking the company's help to access shooter Syed Rizwan Farook's phone by disabling some of its passcode protections.
(Also see: Why Even the FBI Can't Hack the iPhone)
The company has argued that such a move would set a dangerous precedent.
On Sunday, China's Huawei said it backed Apple's chief executive Tim Cook in his stand-off with the United States government over breaking into an iPhone, but stopped short of saying explicitly it would adopt the same stance.
"It is very important, we agree with that," Richard Yu, chief executive of Huawei's consumer business group, told reporters in Barcelona gathered for the Mobile World Congress. "Privacy protection is very important for Huawei, we put a lot of investment into privacy, and security protection is key, it is very important for the consumer.
"Apple is resisting US government demands that it unlock an iPhone used by Rizwan Farook, who along with his wife, Tashfeen Malik, shot and killed 14 people and wounded 22 others at a holiday party in San Bernardino in December.
(Also see: Apple Being Asked for Access to Just One iPhone)
"Tim Cook spoke up for that (privacy) ... for us it is really very important," Yu said. "I think it's good letting the government understand why we cannot do some things. There are some things we can do, but there are some things we cannot do."
© Thomson Reuters 2016
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.