Walmart is raising wages for new employees from $10 an hour to $11, expanding paid parental leave and offering a one-time bonus to eligible workers, actions that the company says will affect more than 1 million employees in the U.S.

Sam’s Club has not said how many employees are losing their jobs. Each Sam’s Club warehouse employs about 175 people, meaning more than 11,000 people could be impacted.

In some cases, employees were not told their store had closed before showing up to work on Thursday. Those employees learned their store would be closing when they found the store’s doors locked and a notice announcing the closing, Sam’s Club workers told Business Insider. At some stores, employees were turned away by police officers.

The company’s chief executive, John Furner, sent a letter to employees. It read, in part:

Transforming our business means managing our real estate portfolio — we need a strong fleet of clubs that are fit for the future. After a thorough review, it became clear we had built clubs in some locations that impacted other clubs, and where population had not grown as anticipated. We’ve decided to right-size our fleet and better align our locations with our strategy. We will be closing some clubs, and we notified them today. We’ll convert some of them into eCommerce fulfillment centers — to better serve the growing number of members shopping with us online and continue scaling the SamsClub.com business. The first of these conversions will be in Memphis, Tennessee.

We know these decisions impact people we care about deeply — our associates and their families, as well as our members and their neighbors — and we did not make them lightly. A Sam’s Club is a place of community and memories, and we are so appreciative of our associates who have worked hard over the years to serve our members. Our immediate focus will be on helping those impacted by today’s news. We will work to place as many associates as possible in new roles at nearby locations, and we’ll provide them with support, resources, and severance pay to those eligible. Many of our associates and members will move to nearby clubs. If you work in such a club, please make them feel welcome.

… Change is never easy, but we’re making these decisions from a position of strength. As you’ve seen in our recent quarterly results, our traffic and comps have improved, and that’s because of the work you do to serve our members. We have momentum, and now is the time to accelerate our transformation efforts. Thank you.

Though Furner’s letter said the company “did not make [the decisions to close stores] lightly,” it did make them abruptly. Many reporters tweeted scenes of Sam’s Club stores with “closed” signs on its doors and employees who were given little or no notice of store closings.

Sam’s Club shutdown? Employees at this S Loop store tell me they showed up to work and were told store is closed effective today. Sign on door says same thing. Hearing other stores also affected. Waiting on answers from parent company, Walmart #khou11pic.twitter.com/RtbY7EhiIK

Was told by an employee at the Buckland Hills Sam’s Club store that it, and several other area stores, will close permanently on Jan. 28. Employees were informed in a morning meeting. The only remaining Sam’s Club in CT will be the one in Newington.

The Washington Post’s Christopher Ingraham tweeted that the Sam’s Club closings will make up roughly half of the amount Walmart is spending on increased wages and bonuses:

Some speculative Wal-Mart math: 63 Sam’s Club locations closing, average of 175 employees each, means up to about 11,000 layoffs. Say wages are $10/hr each, that works out to total payroll savings of $220 million, or half the amount of the $400 million in bonuses announced today.

Wow, a whole lot of @SamsClub locations shut down today while giving 0 notice to workers. That sounds like the management team alright. They are heartless people. I feel terrible for the thousands of people who just lost their jobs.

After a thorough review of our existing portfolio, we’ve decided to close a series of clubs and better align our locations with our strategy. Closing clubs is never easy and we’re committed to working with impacted members and associates through this transition.

Pharmacies will stay open for at least two weeks, and we will work with each state’s Board of Pharmacy to help guide this transition. You will also be contacted about your prescriptions and transitioning them to another club.