trying to unlock a locked HDD
i took out my hard drive from my old macbook pro and want to use it as an external data storage. When I attach it to my iMac, it is asking me for a password. Unfortunately I no longer remember it. I've tried many old passwords, even tried the hint but nothing. Can this somehow be reset without losing the data? Thanks
Ray
iMac 21.5″, macOS 11.4