How HR can resolve employer-employee conflicts in hybrid working

As some employers seek to impose a full-time return to the office, disgruntled workers are starting to vote with their feet. What can HR do to balance their conflicting interests?