Are keys for HP ML 150 G6 chassis all the same?
How bad is the lock broken? Is the bezel locked? I am guessing it is either locked or needs to be locked soon.
I do not have this server but I fond that these are just smaller desk/cabinet locks. Here is a spare parts page for your server These are not the best way to secure a server.
519731-001
is the part-nubmer for the bezel. According to the description and comments from others, it should include a lock and key.
These locks are barrel
/ tubular
locks. and typically have a 3-4 digit number stamped on them. If you just need a replacement and the lock is in tact. Go to eBay and search for key and the number.
Sometimes you have success at a locksmith.
IF its not locked, remove the lock/cam assembly and bring to a hardware store/locksmith.